Skip to content

Commit 1476f38

Browse files
authored
Fix: [AEA-0000] - use new common workflows (#378)
## Summary - Routine Change ### Details - use new common workflows
1 parent 296b770 commit 1476f38

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get update \
1515
jq apt-transport-https ca-certificates gnupg-agent \
1616
software-properties-common bash-completion python3-pip make libbz2-dev \
1717
libreadline-dev libsqlite3-dev wget llvm libncurses5-dev libncursesw5-dev \
18-
xz-utils tk-dev liblzma-dev netcat libyaml-dev
18+
xz-utils tk-dev liblzma-dev libyaml-dev
1919

2020

2121
# Download correct AWS CLI for arch

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2020
with:
2121
ref: ${{ env.BRANCH_NAME }}
2222

@@ -33,7 +33,7 @@ jobs:
3333
tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }}
3434
steps:
3535
- name: Checkout code
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
3737

3838
- name: Get asdf version
3939
id: asdf-version
@@ -44,7 +44,7 @@ jobs:
4444
TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml)
4545
echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT"
4646
quality_checks:
47-
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@ad79b8f5d8dc258c9ec731dc9f6dc47c9f1e7375
47+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
4848
needs: [get_asdf_version, get_commit_id]
4949
with:
5050
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}
@@ -53,7 +53,7 @@ jobs:
5353

5454
tag_release:
5555
needs: [quality_checks, get_commit_id, get_asdf_version]
56-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7
56+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
5757
with:
5858
dry_run: true
5959
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

.github/workflows/docker_image_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
packages: read
2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
22+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2323
with:
2424
ref: ${{ env.BRANCH_NAME }}
2525

.github/workflows/docker_image_upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout local github actions
35-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
35+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
3636
with:
3737
ref: ${{ env.BRANCH_NAME }}
3838
fetch-depth: 0

.github/workflows/package_npm_code.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }}
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v5
14+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
1515

1616
- name: Get asdf version
1717
id: asdf-version
@@ -26,7 +26,7 @@ jobs:
2626
needs: [get_asdf_version]
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v5
29+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
3030
with:
3131
ref: ${{ env.BRANCH_NAME }}
3232

@@ -37,7 +37,7 @@ jobs:
3737
asdf_version: ${{ needs.get_asdf_version.outputs.asdf_version }}
3838

3939
- name: Cache asdf
40-
uses: actions/cache@v4
40+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
4141
with:
4242
path: |
4343
~/.asdf
@@ -60,7 +60,7 @@ jobs:
6060
run: |
6161
make package
6262
63-
- uses: actions/upload-artifact@v5
63+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
6464
name: Upload packaged code
6565
with:
6666
name: nhsdigital-eps-cdk-constructs-1.0.0.tgz

.github/workflows/pull_request.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
jobs:
1111
dependabot-auto-approve-and-merge:
1212
needs: quality_checks
13-
uses: NHSDigital/eps-workflow-dependabot/.github/workflows/dependabot-auto-approve-and-merge.yml@c78f84e2e6523593bf9b8ac32751c80a206fc73d
13+
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
1414
secrets:
1515
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
1616
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}
@@ -21,7 +21,7 @@ jobs:
2121
tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }}
2222
steps:
2323
- name: Checkout code
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2525

2626
- name: Get asdf version
2727
id: asdf-version
@@ -32,9 +32,9 @@ jobs:
3232
TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml)
3333
echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT"
3434
pr_title_format_check:
35-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/pr_title_check.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7
35+
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
3636
quality_checks:
37-
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@ad79b8f5d8dc258c9ec731dc9f6dc47c9f1e7375
37+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
3838
needs: [get_asdf_version, get_commit_id]
3939
with:
4040
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}
@@ -74,7 +74,7 @@ jobs:
7474
sha_short: ${{ steps.commit_id.outputs.sha_short }}
7575
steps:
7676
- name: Checkout code
77-
uses: actions/checkout@v5
77+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
7878
with:
7979
ref: ${{ env.BRANCH_NAME }}
8080

@@ -109,7 +109,7 @@ jobs:
109109

110110
tag_release:
111111
needs: [get_commit_id, get_asdf_version]
112-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7
112+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
113113
with:
114114
dry_run: true
115115
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2121
with:
2222
ref: ${{ env.BRANCH_NAME }}
2323

@@ -34,7 +34,7 @@ jobs:
3434
tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }}
3535
steps:
3636
- name: Checkout code
37-
uses: actions/checkout@v5
37+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
3838

3939
- name: Get asdf version
4040
id: asdf-version
@@ -45,7 +45,7 @@ jobs:
4545
TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml)
4646
echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT"
4747
quality_checks:
48-
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@ad79b8f5d8dc258c9ec731dc9f6dc47c9f1e7375
48+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
4949
needs: [get_asdf_version, get_commit_id]
5050
with:
5151
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}
@@ -54,7 +54,7 @@ jobs:
5454

5555
tag_release:
5656
needs: [quality_checks, get_commit_id, get_asdf_version]
57-
uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7
57+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d
5858
with:
5959
dry_run: false
6060
asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}

0 commit comments

Comments
 (0)