ci: grant the release workflow the write permission to contents (#5017)

This commit is contained in:
Mohammed Al Sahaf
2022-09-06 00:35:47 +03:00
committed by GitHub
parent 0499d9c1c4
commit 487217519c

View File

@@ -25,7 +25,8 @@ jobs:
permissions:
id-token: write
# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps#permission-on-contents
contents: read
# "Releases" is part of `contents`, so it needs the `write`
contents: write
steps:
- name: Install Go