aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2022-09-06 00:35:47 +0300
committerGitHub <[email protected]>2022-09-05 21:35:47 +0000
commit487217519cd8dad207d04d5db966aacff3949b1d (patch)
tree90438ae74d5e89963b52c50eca111cb45833e833 /.github
parent0499d9c1c4177503c4a3d8d6bffd5d44e5edd430 (diff)
downloadcaddy-487217519cd8dad207d04d5db966aacff3949b1d.tar.gz
caddy-487217519cd8dad207d04d5db966aacff3949b1d.zip
ci: grant the `release` workflow the `write` permission to `contents` (#5017)v2.6.0-beta.3
Diffstat (limited to '.github')
-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 8ab9488c1..435086fd7 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