From 807bdc0729d6637afd3458fc655de4bbfb16dc5e Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:00:50 +0100 Subject: [PATCH] fix(npm-publish): use default github token (#12058) * fix(npm-publish): restore permissions * fix(npm-publish): revert using PAT --- .github/workflows/npm-publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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