diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 772bc99..109b0ba 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update \ jq apt-transport-https ca-certificates gnupg-agent \ software-properties-common bash-completion python3-pip make libbz2-dev \ libreadline-dev libsqlite3-dev wget llvm libncurses5-dev libncursesw5-dev \ - xz-utils tk-dev liblzma-dev netcat libyaml-dev + xz-utils tk-dev liblzma-dev libyaml-dev # Download correct AWS CLI for arch diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f7fff9..e144767 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: ref: ${{ env.BRANCH_NAME }} @@ -33,7 +33,7 @@ jobs: tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - name: Get asdf version id: asdf-version @@ -44,7 +44,7 @@ jobs: TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml) echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT" quality_checks: - uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@ad79b8f5d8dc258c9ec731dc9f6dc47c9f1e7375 + uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d needs: [get_asdf_version, get_commit_id] with: asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} @@ -53,7 +53,7 @@ jobs: tag_release: needs: [quality_checks, get_commit_id, get_asdf_version] - uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7 + uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d with: dry_run: true asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} diff --git a/.github/workflows/docker_image_build.yml b/.github/workflows/docker_image_build.yml index 013762f..cf73564 100644 --- a/.github/workflows/docker_image_build.yml +++ b/.github/workflows/docker_image_build.yml @@ -19,7 +19,7 @@ jobs: packages: read steps: - name: Checkout code - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: ref: ${{ env.BRANCH_NAME }} diff --git a/.github/workflows/docker_image_upload.yml b/.github/workflows/docker_image_upload.yml index 4fb7527..87bdd59 100644 --- a/.github/workflows/docker_image_upload.yml +++ b/.github/workflows/docker_image_upload.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout local github actions - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: ref: ${{ env.BRANCH_NAME }} fetch-depth: 0 diff --git a/.github/workflows/package_npm_code.yml b/.github/workflows/package_npm_code.yml index 920ea97..354626a 100644 --- a/.github/workflows/package_npm_code.yml +++ b/.github/workflows/package_npm_code.yml @@ -11,7 +11,7 @@ jobs: tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - name: Get asdf version id: asdf-version @@ -26,7 +26,7 @@ jobs: needs: [get_asdf_version] steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: ref: ${{ env.BRANCH_NAME }} @@ -37,7 +37,7 @@ jobs: asdf_version: ${{ needs.get_asdf_version.outputs.asdf_version }} - name: Cache asdf - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 with: path: | ~/.asdf @@ -60,7 +60,7 @@ jobs: run: | make package - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 name: Upload packaged code with: name: nhsdigital-eps-cdk-constructs-1.0.0.tgz diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6ebc50a..1b62dc7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,7 +10,7 @@ env: jobs: dependabot-auto-approve-and-merge: needs: quality_checks - uses: NHSDigital/eps-workflow-dependabot/.github/workflows/dependabot-auto-approve-and-merge.yml@c78f84e2e6523593bf9b8ac32751c80a206fc73d + uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d secrets: AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }} AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }} @@ -21,7 +21,7 @@ jobs: tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - name: Get asdf version id: asdf-version @@ -32,9 +32,9 @@ jobs: TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml) echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT" pr_title_format_check: - uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/pr_title_check.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7 + uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d quality_checks: - uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@ad79b8f5d8dc258c9ec731dc9f6dc47c9f1e7375 + uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d needs: [get_asdf_version, get_commit_id] with: asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} @@ -74,7 +74,7 @@ jobs: sha_short: ${{ steps.commit_id.outputs.sha_short }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: ref: ${{ env.BRANCH_NAME }} @@ -109,7 +109,7 @@ jobs: tag_release: needs: [get_commit_id, get_asdf_version] - uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7 + uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d with: dry_run: true asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c21cb3e..a5b2e77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 with: ref: ${{ env.BRANCH_NAME }} @@ -34,7 +34,7 @@ jobs: tag_format: ${{ steps.load-config.outputs.TAG_FORMAT }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 - name: Get asdf version id: asdf-version @@ -45,7 +45,7 @@ jobs: TAG_FORMAT=$(yq '.TAG_FORMAT' .github/config/settings.yml) echo "TAG_FORMAT=$TAG_FORMAT" >> "$GITHUB_OUTPUT" quality_checks: - uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@ad79b8f5d8dc258c9ec731dc9f6dc47c9f1e7375 + uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d needs: [get_asdf_version, get_commit_id] with: asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }} @@ -54,7 +54,7 @@ jobs: tag_release: needs: [quality_checks, get_commit_id, get_asdf_version] - uses: NHSDigital/eps-workflow-semantic-release/.github/workflows/tag-release.yml@b49130ecbac4f0a052642f6417a0ea0555240fd7 + uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release.yml@ba86b0c6a2a3d4b87398e538e410cec90f57133d with: dry_run: false asdfVersion: ${{ needs.get_asdf_version.outputs.asdf_version }}