diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 888c6795..f68a7281 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -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. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aab2de7f..12dd99b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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.