diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbe6d44..6e5d3b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ jobs: build: name: Build runs-on: ubuntu-latest + environment: PAT_TOKEN permissions: contents: write outputs: @@ -70,6 +71,7 @@ jobs: name: Release runs-on: ubuntu-latest needs: build + environment: PAT_TOKEN if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' permissions: contents: write