Skip to content

Commit 7305cba

Browse files
Drift from template
1 parent 0c64e15 commit 7305cba

File tree

6 files changed

+8
-17
lines changed

6 files changed

+8
-17
lines changed

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# All arguments are required except terraformAction, and internalRef.
2121
# Example:
2222
# ./dispatch_internal_repo_workflow.sh \
23-
# --infraRepoName "nhs-notify-web-template-management" \
23+
# --infraRepoName "nhs-notify-dns" \
2424
# --releaseVersion "v1.2.3" \
2525
# --targetWorkflow "deploy.yaml" \
2626
# --targetEnvironment "prod" \

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

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

1717
steps:
1818
- name: Check out the repository
19-
uses: actions/checkout@v5.0.0
19+
uses: actions/checkout@v4
2020

2121
- name: Check out external repository
22-
uses: actions/checkout@v5.0.0
22+
uses: actions/checkout@v4
2323
with:
2424
repository: NHSDigital/nhs-notify-repository-template
2525
path: nhs-notify-repository-template

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@v5.0.0
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
with:
3737
persist-credentials: false
3838

3939
- name: "Run analysis"
40-
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
40+
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
4141
with:
4242
results_file: results.sarif
4343
results_format: sarif
@@ -68,6 +68,6 @@ jobs:
6868
# Upload the results to GitHub's code scanning dashboard (optional).
6969
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
71+
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
7272
with:
7373
sarif_file: results.sarif

infrastructure/terraform/bin/terraform.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ readonly backend_config="terraform {
599599
region = \"${region}\"
600600
bucket = \"${bucket}\"
601601
key = \"${backend_key}\"
602+
dynamodb_table = \"${bucket}\"
602603
use_lockfile = true
603604
}
604605
}";

scripts/config/pre-commit.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ repos:
33
rev: v5.0.0 # Use the ref you want to point at
44
hooks:
55
- id: trailing-whitespace
6-
exclude: |
7-
(?x)^(
8-
frontend/src/__tests__/utils/markdownit/fixtures/index\.ts
9-
)$
106
- id: detect-aws-credentials
117
args: [--allow-missing-credentials]
128
- id: check-added-large-files
@@ -16,11 +12,6 @@ repos:
1612
- id: forbid-new-submodules
1713
- id: mixed-line-ending
1814
- id: pretty-format-json
19-
exclude: |
20-
(?x)^(
21-
package-lock.json|
22-
packages/event-schemas/schemas/[^/]+/[^/]+\.json
23-
)$
2415
args: ['--autofix']
2516
# - id: ...
2617
- repo: local
@@ -41,7 +32,7 @@ repos:
4132
hooks:
4233
- id: check-file-format
4334
name: Check file format
44-
entry: /usr/bin/env check=branch exclude=frontend/src/__tests__/utils/markdownit/fixtures/index.ts ./scripts/githooks/check-file-format.sh
35+
entry: /usr/bin/env check=branch ./scripts/githooks/check-file-format.sh
4536
language: script
4637
pass_filenames: false
4738
- repo: local

scripts/githooks/check-todos.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ EXCLUDED_FILES=(
3333
"Makefile"
3434
"project.code-workspace"
3535
"src/jekyll-devcontainer/src/.devcontainer/devcontainer.json"
36-
".eslintrc.json"
3736
)
3837

3938
EXCLUDED_DIRS=(

0 commit comments

Comments
 (0)