diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e4d0579703a9..a306aa7fc68b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -5,6 +5,10 @@ on: branches: - main +permissions: + contents: write + pull-requests: write + jobs: build: if: github.repository == 'mdn/yari' @@ -14,8 +18,6 @@ jobs: - name: Release uses: googleapis/release-please-action@v4 id: release - with: - token: ${{ secrets.RELEASE_PLEASE_PAT }} - name: Checkout uses: actions/checkout@v4