From 975af766252f28654ab021ce74527c8fa2a5ae08 Mon Sep 17 00:00:00 2001 From: Eric Crosson Date: Tue, 24 Jan 2023 09:04:57 -0600 Subject: [PATCH] ci: grant write permissions to GitHub Actions semantic-release needs to be able to create git tags, so promote the `contents` permission from `read` to `write` as indicated in https://github.com/semantic-release/semantic-release/issues/2496#issuecomment-1329729857 --- .github/workflows/main_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml index c21b82480..4e7ca4595 100644 --- a/.github/workflows/main_ci.yml +++ b/.github/workflows/main_ci.yml @@ -8,7 +8,7 @@ on: pull_request: permissions: - contents: read + contents: write jobs: ##################