From c966b182f43eb36cebc3fe53f3c86334bd00de4a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 21 Sep 2026 13:44:01 -0400 Subject: [PATCH] fix: Add permissions for git push in release workflow The workflow needs contents: write permission to push tags and commits. This fixes the "Permission denied" error when pushing release tags. Signed-off-by: GitHub Action --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e4ec8ce5..2471028d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,9 @@ on: paths: - '.github/project.yml' +permissions: + contents: write + jobs: release: runs-on: ubuntu-latest @@ -21,6 +24,8 @@ jobs: metadata-file-path: '.github/project.yml' - uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} - name: Import GPG key id: import_gpg