Skip to content

Commit

Permalink
Add permissions to workflow (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj authored Dec 13, 2023
1 parent 387881d commit dc7e40c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
npm-token:
required: true

permissions:
contents: write
id-token: write # For publishing to npm using --provenance

### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### 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.

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- closed
workflow_dispatch:

permissions:
contents: write
id-token: write # For publishing to npm using --provenance

### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### 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.

Expand Down

0 comments on commit dc7e40c

Please sign in to comment.