Skip to content

Commit d94d63c

Browse files
committed
chore: fix release
1 parent db07bae commit d94d63c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,20 @@ on:
2020
tags:
2121
- "v*.*.*"
2222

23+
permissions:
24+
id-token: write # Needed to attest provenance
25+
attestations: write # Needed to attest provenance
26+
contents: write # Needed to create release
27+
2328
jobs:
2429
release:
2530
uses: bazel-contrib/.github/.github/workflows/[email protected] # 2025-03-17
2631
with:
2732
prerelease: false
2833
release_files: rules_lint-*.tar.gz
2934
tag_name: ${{ inputs.tag_name }}
30-
permissions:
31-
id-token: write # Needed to attest provenance
32-
attestations: write # Needed to attest provenance
33-
contents: write # Needed to create release
3435
publish:
3536
needs: release
3637
uses: ./.github/workflows/publish.yaml
3738
with:
3839
tag_name: ${{ inputs.tag_name }}
39-
permissions:
40-
contents: write # allow appending new attestation files to the release

0 commit comments

Comments
 (0)