Skip to content

Fix release workflow filename #11

Fix release workflow filename

Fix release workflow filename #11

Workflow file for this run

# Cut a release whenever a new tag is pushed to the repo.
# You should use an annotated tag, like `git tag -a v1.2.3`
# and put the release notes into the commit message for the tag.
name: Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
release:

Check failure on line 15 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 15, Col: 3): Error calling workflow 'bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.2.2'. The nested job 'attest' is requesting 'attestations: write, id-token: write', but is only allowed 'attestations: none, id-token: none'.
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.2.2
with:
release_files: rules_android-*.tar.gz
bazel_test_command: "cd examples/basicapp && bazel build java/com/basicapp:basic_app"
tag_name: ${{ inputs.tag_name || github.ref_name }}
publish:
needs: release
uses: ./.github/workflows/publish.yml
with:
tag_name: ${{ inputs.tag_name || github.ref_name }}
secrets:
publish_token: ${{ secrets.publish_token || secrets.BCR_PUBLISH_TOKEN }}