Skip to content

Commit

Permalink
update action permissions
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 822793cfbf72cc8e645c1fb715a487ea984f942d
  • Loading branch information
f authored and actions-user committed Sep 19, 2024
1 parent 9773a35 commit 2fe14d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/packages.react-router-busy.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:
if: github.event_name == 'push'
needs: [validate]
runs-on: ubuntu-latest
permissions: write-all
# https://github.com/changesets/action/issues/179#issuecomment-1139116421
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -62,8 +68,6 @@ jobs:
bun-version: latest
- name: Install dependencies (`npm ci`)
run: bun install --frozen-lockfile
# Note we have to toggle Workflow permissions > Allow GitHub Actions to create and approve pull requests in https://github.com/bitofbreeze/mono/settings/actions
# Actually maybe not with permissions option
- name: Create release pull request or publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-busy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ return (

### NavLink

TODO Better not to have all that extra code for the `as` prop
TODO Better not to have all that extra code for the `as` prop.

0 comments on commit 2fe14d0

Please sign in to comment.