Skip to content

Commit 6b9c7a1

Browse files
authored
Add NODE_AUTH_TOKEN to check-version step in pr_closed.yaml (#289)
1 parent ecc786b commit 6b9c7a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr_closed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585

8686
- name: check if local version differs from latest published version
8787
id: check-version
88+
env:
89+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8890
run: |
8991
published_version=$(npm view @nhsdigital/nhs-notify-event-schemas-supplier-api --json 2>/dev/null | jq -r '.["dist-tags"].latest // "null"')
9092
echo "Published version: $published_version"

0 commit comments

Comments
 (0)