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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,8 @@ jobs:
permissions: permissions:
id-token: write id-token: write
# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps#permission-on-contents # 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: steps:
- name: Install Go - name: Install Go