diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6eab8c3..8915a8a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,20 +2,20 @@ name: Release on: push: branches: - - master # or main + - main permissions: - contents: read # for checkout + contents: read jobs: release: name: Release runs-on: ubuntu-latest permissions: - contents: write # to be able to publish a GitHub release - issues: write # to be able to comment on released issues - pull-requests: write # to be able to comment on released pull requests - id-token: write # to enable use of OIDC for npm provenance + contents: write + issues: write + pull-requests: write + id-token: write steps: - name: Checkout uses: actions/checkout@v4