From 355b714acb1b1278605afcf1fe02045b01c3bf52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Thu, 7 May 2026 12:03:21 +0200 Subject: [PATCH] Fix the ability to create GitHub releases in our own workflow --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 46edd6c7..01eef2cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,6 +40,8 @@ jobs: runs-on: ubuntu-latest environment: marketplace timeout-minutes: 20 + permissions: + contents: write # to create release and have it authored by github-actions (changesets/action) steps: - uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1 id: app-token @@ -49,6 +51,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + # we need this token to bypass the branch and tag protection rules token: ${{ steps.app-token.outputs.token }} - uses: ./.github/actions/ci-setup