Skip to content

Commit 1b23de9

Browse files
committed
ci: add permission specifications
1 parent 40397b8 commit 1b23de9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
tag-and-npm-publish:
3535
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3636
runs-on: ubuntu-latest
37+
permissions:
38+
contents: read
39+
id-token: write
3740
needs: [build-and-test]
3841
steps:
3942
- name: Check out repository code

0 commit comments

Comments
 (0)