Skip to content

Commit 2cc5608

Browse files
committed
chore: Fixed create release workflow
1 parent 9bc1df1 commit 2cc5608

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/create-release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ name: Create Release
33
# Manual trigger only
44
on: [workflow_dispatch]
55

6+
# Since we are reusing a workflow, we must match the permissions that
7+
# upstream workflow requires.
8+
permissions:
9+
contents: write
10+
id-token: write
11+
612
jobs:
713
tag-and-publish:
814
uses: newrelic/node-newrelic/.github/workflows/release-creation.yml@main
915
with:
1016
workflows: ci-workflow.yml,smoke-test-workflow.yml
11-
# See release-creation.yml explaining why this has to be done
12-
secrets:
13-
npm_token: ${{ secrets.NODE_AGENT_NPM_TOKEN }}
14-

0 commit comments

Comments
 (0)