summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMohammed Al Sahaf <msaa1990@gmail.com>2022-09-06 00:35:47 +0300
committerGitHub <noreply@github.com>2022-09-05 21:35:47 +0000
commit487217519cd8dad207d04d5db966aacff3949b1d (patch)
tree90438ae74d5e89963b52c50eca111cb45833e833 /.github/workflows
parent0499d9c1c4177503c4a3d8d6bffd5d44e5edd430 (diff)
ci: grant the `release` workflow the `write` permission to `contents` (#5017)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8ab9488..435086f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -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