Skip to content

Commit 5be9883

Browse files
authored
Merge pull request #59 from NHSDigital/feature/CCM-8881-backport-version-bumps
CCM-8881: Backport version bumps
2 parents b019957 + 5492d92 commit 5be9883

File tree

18 files changed

+55
-47
lines changed

18 files changed

+55
-47
lines changed

.github/actions/create-lines-of-code-report/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
echo "secrets_exist=${{ inputs.idp_aws_report_upload_role_name != '' && inputs.idp_aws_report_upload_bucket_endpoint != '' }}" >> $GITHUB_OUTPUT
4545
- name: "Authenticate to send the report"
4646
if: steps.check.outputs.secrets_exist == 'true'
47-
uses: aws-actions/configure-aws-credentials@v2
47+
uses: aws-actions/configure-aws-credentials@v4
4848
with:
4949
role-to-assume: arn:aws:iam::${{ inputs.idp_aws_report_upload_account_id }}:role/${{ inputs.idp_aws_report_upload_role_name }}
5050
aws-region: ${{ inputs.idp_aws_report_upload_region }}

.github/actions/scan-dependencies/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ runs:
5858
run: echo "secrets_exist=${{ inputs.idp_aws_report_upload_role_name != '' && inputs.idp_aws_report_upload_bucket_endpoint != '' }}" >> $GITHUB_OUTPUT
5959
- name: "Authenticate to send the reports"
6060
if: steps.check.outputs.secrets_exist == 'true'
61-
uses: aws-actions/configure-aws-credentials@v2
61+
uses: aws-actions/configure-aws-credentials@v4
6262
with:
6363
role-to-assume: arn:aws:iam::${{ inputs.idp_aws_report_upload_account_id }}:role/${{ inputs.idp_aws_report_upload_role_name }}
6464
aws-region: ${{ inputs.idp_aws_report_upload_region }}

.github/workflows/manual-combine-dependabot-prs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: combine-prs
1717
id: combine-prs
18-
uses: github/combine-prs@v5.1.0
18+
uses: github/combine-prs@v5.2.0
1919
with:
2020
ci_required: false
2121
labels: dependencies

.github/workflows/scheduled-repository-template-sync.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727

2828
- name: Run syncronisation script
2929
run: |
30-
./scripts/githooks/sync-template-repo.sh
30+
./nhs-notify-repository-template/scripts/githooks/sync-template-repo.sh
3131
rm -Rf ./nhs-notify-repository-template
3232
3333
- name: Create Pull Request
3434
if: ${{ !env.ACT }}
35-
uses: peter-evans/[email protected].1
35+
uses: peter-evans/[email protected].6
3636
with:
3737
token: ${{ secrets.GITHUB_TOKEN }}
3838
commit-message: Drift from template

.github/workflows/stage-1-commit.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
scan-secrets:
3737
name: "Scan secrets"
3838
runs-on: ubuntu-latest
39-
timeout-minutes: 2
39+
timeout-minutes: 5
4040
steps:
4141
- name: "Checkout code"
4242
uses: actions/checkout@v4
@@ -47,7 +47,7 @@ jobs:
4747
check-file-format:
4848
name: "Check file format"
4949
runs-on: ubuntu-latest
50-
timeout-minutes: 2
50+
timeout-minutes: 5
5151
steps:
5252
- name: "Checkout code"
5353
uses: actions/checkout@v4
@@ -58,7 +58,7 @@ jobs:
5858
check-markdown-format:
5959
name: "Check Markdown format"
6060
runs-on: ubuntu-latest
61-
timeout-minutes: 2
61+
timeout-minutes: 5
6262
steps:
6363
- name: "Checkout code"
6464
uses: actions/checkout@v4
@@ -93,7 +93,7 @@ jobs:
9393
check-english-usage:
9494
name: "Check English usage"
9595
runs-on: ubuntu-latest
96-
timeout-minutes: 2
96+
timeout-minutes: 5
9797
steps:
9898
- name: "Checkout code"
9999
uses: actions/checkout@v4
@@ -127,7 +127,7 @@ jobs:
127127
lint-terraform:
128128
name: "Lint Terraform"
129129
runs-on: ubuntu-latest
130-
timeout-minutes: 2
130+
timeout-minutes: 5
131131
needs: detect-terraform-changes
132132
if: needs.detect-terraform-changes.outputs.terraform_changed == 'true'
133133
steps:
@@ -156,7 +156,7 @@ jobs:
156156
permissions:
157157
id-token: write
158158
contents: read
159-
timeout-minutes: 2
159+
timeout-minutes: 5
160160
steps:
161161
- name: "Checkout code"
162162
uses: actions/checkout@v4
@@ -175,7 +175,7 @@ jobs:
175175
permissions:
176176
id-token: write
177177
contents: read
178-
timeout-minutes: 2
178+
timeout-minutes: 5
179179
steps:
180180
- name: "Checkout code"
181181
uses: actions/checkout@v4

.github/workflows/stage-5-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
run: echo "secret_exist=${{ secrets.TEAMS_NOTIFICATION_WEBHOOK_URL != '' }}" >> $GITHUB_OUTPUT
105105
- name: "Notify on publishing packages"
106106
if: steps.check.outputs.secret_exist == 'true'
107-
uses: nhs-england-tools/notify-msteams-action@v0.0.4
107+
uses: nhs-england-tools/notify-msteams-action@v1.0.0
108108
with:
109109
github-token: ${{ secrets.GITHUB_TOKEN }}
110110
teams-webhook-url: ${{ secrets.TEAMS_NOTIFICATION_WEBHOOK_URL }}

.gitleaksignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# SEE: https://github.com/gitleaks/gitleaks/blob/master/README.md#gitleaksignore
22

33
cd9c0efec38c5d63053dd865e5d4e207c0760d91:docs/guides/Perform_static_analysis.md:generic-api-key:37
4+
cd9c0efec38c5d63053dd865e5d4e207c0760d91:docs/guides/Perform_static_analysis.md:sonar-api-token:37
45
96096685ab3d6876671e2bc9a6ff4d48fc56e521:src/helloworld/helloworld.sln:ipv4:4
56
4f4e8c15629b2cb09356a7fed4d72953590227ce:docs/Gemfile.lock:ipv4:4

.tool-versions

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
act 0.2.64
2-
gitleaks 8.18.4
2+
gitleaks 8.24.0
33
pre-commit 3.6.0
44
terraform 1.9.2
55
terraform-docs 0.19.0
66
tfsec 1.28.10
77
vale 3.6.0
8+
python 3.13.2
89

910
# ==============================================================================
1011
# The section below is reserved for Docker image versions.
1112

1213
# TODO: Move this section - consider using a different file for the repository template dependencies.
1314
# docker/ghcr.io/anchore/grype v0.69.1@sha256:d41fcb371d0af59f311e72123dff46900ebd6d0482391b5a830853ee4f9d1a76 # SEE: https://github.com/anchore/grype/pkgs/container/grype
1415
# docker/ghcr.io/anchore/syft v0.92.0@sha256:63c60f0a21efb13e80aa1359ab243e49213b6cc2d7e0f8179da38e6913b997e0 # SEE: https://github.com/anchore/syft/pkgs/container/syft
15-
# docker/ghcr.io/gitleaks/gitleaks v8.18.0@sha256:fd2b5cab12b563d2cc538b14631764a1c25577780e3b7dba71657d58da45d9d9 # SEE: https://github.com/gitleaks/gitleaks/pkgs/container/gitleaks
16+
# docker/ghcr.io/gitleaks/gitleaks:v8.24.0@sha256:b8e9bf46893c2f20e10bfb4b2e783adaef519dea981b01ca6221ac325e836040 # SEE: https://github.com/gitleaks/gitleaks/pkgs/container/gitleaks
1617
# docker/ghcr.io/igorshubovych/markdownlint-cli v0.37.0@sha256:fb3e79946fce78e1cde84d6798c6c2a55f2de11fc16606a40d49411e281d950d # SEE: https://github.com/igorshubovych/markdownlint-cli/pkgs/container/markdownlint-cli
1718
# docker/ghcr.io/make-ops-tools/gocloc latest@sha256:6888e62e9ae693c4ebcfed9f1d86c70fd083868acb8815fe44b561b9a73b5032 # SEE: https://github.com/make-ops-tools/gocloc/pkgs/container/gocloc
1819
# docker/ghcr.io/nhs-england-tools/github-runner-image 20230909-321fd1e-rt@sha256:ce4fd6035dc450a50d3cbafb4986d60e77cb49a71ab60a053bb1b9518139a646 # SEE: https://github.com/nhs-england-tools/github-runner-image/pkgs/container/github-runner-image

infrastructure/terraform/bin/terraform.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,8 +793,8 @@ case "${action}" in
793793
;;
794794
*)
795795
echo -e "Generic action case invoked. Only the additional arguments will be passed to terraform, you break it you fix it:";
796-
echo -e "\tterraform ${action} ${extra_args}";
797-
terraform "${action}" ${extra_args} \
796+
echo -e "\tterraform ${action} ${extra_args} | tee terraform_output";
797+
terraform "${action}" ${extra_args} | tee terraform_output \
798798
|| error_and_die "Terraform ${action} failed.";
799799
;;
800800
esac;
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
# Files and folders to ignore when syncing nhs-notify-repository-template back in to this repository
2-
.github/workflows/
32
nhs-notify-repository-template/
43

54
# Files and Folders in this repository to ignore
5+
.editorconfig
6+
.github/CODEOWNERS
7+
.gitleaksignore
68
.vscode/
9+
/Makefile
710
CHANGELOG.md
8-
project.code-workspace
911
README.md
1012
VERSION
13+
project.code-workspace
14+
scripts/config/sonar-scanner.properties
15+
scripts/tests/
1116

1217
# Files and Folders in the template repository to disregard
1318
.devcontainer/
1419
.github/workflows/cicd-*.yaml
15-
*/examples/
1620
docs/
1721
infrastructure/terraform/components/
22+
scripts/**/examples/

0 commit comments

Comments
 (0)