Skip to content

Commit eec7527

Browse files
authored
Add rules to ensure unstable publishes work (#2901)
1 parent 1ff79eb commit eec7527

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/npm-publish-unstable.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
3535
test:
3636
name: Run tests and publish unstable
37+
needs: paths-filter
3738
if: ${{ needs.paths-filter.outputs.src == 'true' }}
3839
runs-on: ubuntu-latest
3940
steps:
@@ -62,6 +63,9 @@ jobs:
6263
name: Publish unstable
6364
needs: test
6465
runs-on: ubuntu-latest
66+
permissions:
67+
contents: write
68+
id-token: write
6569
steps:
6670
- name: npm publish
6771
run: |

0 commit comments

Comments
 (0)