From b23fe72fb55ca28437c50873fecb6ec50550171b Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Thu, 22 Jun 2023 10:40:45 -0400 Subject: [PATCH] release pipeline: release workflow needs write permissions (#17669) In #17103 we set read-only permissions on all the workflows. Unfortunately we missed that the `release` workflow makes git commits and pushes them to the repository, so it needs to have write permissions. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1138af56..3e545a130 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -203,6 +203,6 @@ jobs: else echo "no files were updated" fi -permissions: - contents: read +permissions: + contents: write