Skip to content

Commit 31e2001

Browse files
authored
Merge pull request #18 from github/joshmgross/update-workflow-permissions
Add `packages: read` permissions to workflows
2 parents 8753454 + 0d0a0c2 commit 31e2001

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
packages: read
12+
913
jobs:
1014
build:
1115
runs-on: ubuntu-latest

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656

5757
permissions:
5858
contents: write
59+
packages: read
5960

6061
env:
6162
EXT_VERSION: "" # will be set in the workflow

0 commit comments

Comments
 (0)