Skip to content

Commit a87e927

Browse files
committed
Add workflow permissions
1 parent 42153ee commit a87e927

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ main ]
66
paths-ignore: [ 'dist/*.js' ]
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
deploy-action-code:
1013
name: Deploy Action Code

.github/workflows/tag-update.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [ published ]
66

7+
permissions:
8+
contents: write
9+
710
jobs:
811
update-tags:
912
if: ${{ !github.event.release.prerelease }}

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
pull_request:
1010
branches: [ main ]
1111

12+
permissions:
13+
contents: read
14+
pull-requests: read
15+
# packages: read
16+
1217
jobs:
1318
test-gh-registry:
1419
name: Test GitHub Registry

0 commit comments

Comments
 (0)