Skip to content

Commit

Permalink
fix(npm-publish): use default github token (#12058)
Browse files Browse the repository at this point in the history
* fix(npm-publish): restore permissions
* fix(npm-publish): revert using PAT
  • Loading branch information
caugner authored Oct 30, 2024
1 parent 4a91901 commit 807bdc0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
build:
if: github.repository == 'mdn/yari'
Expand All @@ -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
Expand Down

0 comments on commit 807bdc0

Please sign in to comment.