Skip to content

Commit dc7e40c

Browse files
authored
Add permissions to workflow (#1377)
1 parent 387881d commit dc7e40c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/npm-release.yml

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212
npm-token:
1313
required: true
1414

15-
permissions:
16-
contents: write
17-
id-token: write # For publishing to npm using --provenance
18-
1915
### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
2016
### TODO: Also remove `get-prerelease`, `get-version`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
2117

.github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- closed
77
workflow_dispatch:
88

9+
permissions:
10+
contents: write
11+
id-token: write # For publishing to npm using --provenance
12+
913
### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
1014
### TODO: Also remove `get-prerelease`, `get-version`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
1115

0 commit comments

Comments
 (0)