Skip to content

Commit 5dc20bc

Browse files
authored
Fix: [AEA-0000] - explicitly pass github and npm token (#457)
## Summary - Routine Change ### Details - explicitly pass github and npm token
1 parent 21393d9 commit 5dc20bc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
tag_release:
3131
needs: [quality_checks, get_asdf_version]
32-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@83c45bbbf4325920d6487747e9e4bf2547d1bd6a
32+
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@c3659bcdb7abf6ecc7ac9d73c14d943d8b142808
3333
with:
3434
dry_run: true
3535
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1212

1313
pr_title_format_check:
14-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/pr_title_check.yml@83c45bbbf4325920d6487747e9e4bf2547d1bd6a
14+
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/pr_title_check.yml@c3659bcdb7abf6ecc7ac9d73c14d943d8b142808
1515

1616
get_asdf_version:
1717
runs-on: ubuntu-22.04
@@ -33,7 +33,7 @@ jobs:
3333
3434
tag_release:
3535
needs: [get_asdf_version]
36-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@83c45bbbf4325920d6487747e9e4bf2547d1bd6a
36+
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@c3659bcdb7abf6ecc7ac9d73c14d943d8b142808
3737
with:
3838
dry_run: true
3939
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ jobs:
3030
echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT"
3131
tag_release:
3232
needs: [quality_checks, get_asdf_version]
33-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@83c45bbbf4325920d6487747e9e4bf2547d1bd6a
33+
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@c3659bcdb7abf6ecc7ac9d73c14d943d8b142808
3434
with:
3535
dry_run: false
3636
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}
3737
branch_name: main
3838
publish_package: true
3939
tag_format: ${{ needs.get_asdf_version.outputs.tag_format }}
40-
secrets: inherit
40+
secrets:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)