Skip to content

Commit 876fe00

Browse files
committed
Release workflow: Add contents: write permission
1 parent e4227be commit 876fe00

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ jobs:
1313
publish:
1414
runs-on: ubuntu-latest
1515
permissions:
16-
contents: read
16+
# To create a release.
17+
contents: write
18+
# To push a docker image.
1719
packages: write
20+
# To push an attestation.
1821
attestations: write
22+
# Presumably used to log into the GitHub Container Registry, as per https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.
1923
id-token: write
2024
container:
2125
image: rust:1.88.0-alpine

0 commit comments

Comments
 (0)