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