Skip to content

Commit 2fe14d0

Browse files
factions-user
authored andcommitted
update action permissions
GitOrigin-RevId: 822793cfbf72cc8e645c1fb715a487ea984f942d
1 parent 9773a35 commit 2fe14d0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/packages.react-router-busy.release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ jobs:
5050
if: github.event_name == 'push'
5151
needs: [validate]
5252
runs-on: ubuntu-latest
53-
permissions: write-all
53+
# https://github.com/changesets/action/issues/179#issuecomment-1139116421
54+
permissions:
55+
id-token: write
56+
contents: write
57+
packages: write
58+
pull-requests: write
59+
issues: read
5460
steps:
5561
- name: Check out code
5662
uses: actions/checkout@v4
@@ -62,8 +68,6 @@ jobs:
6268
bun-version: latest
6369
- name: Install dependencies (`npm ci`)
6470
run: bun install --frozen-lockfile
65-
# Note we have to toggle Workflow permissions > Allow GitHub Actions to create and approve pull requests in https://github.com/bitofbreeze/mono/settings/actions
66-
# Actually maybe not with permissions option
6771
- name: Create release pull request or publish to npm
6872
id: changesets
6973
uses: changesets/action@v1

packages/react-router-busy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ return (
6060

6161
### NavLink
6262

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

0 commit comments

Comments
 (0)