Skip to content

Commit 384ed90

Browse files
m-houstongithub-actions[bot]
authored andcommitted
Drift from template
1 parent ce8c45c commit 384ed90

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
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@v4
47+
uses: aws-actions/configure-aws-credentials@v2
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@v4
61+
uses: aws-actions/configure-aws-credentials@v2
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 }}

scripts/config/gitleaks.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# SEE: https://github.com/gitleaks/gitleaks/#configuration
2-
# Do not edit this file directly as it will be overwritten by changes from the nhs-notify-repository-template on next sync
32

43
[extend]
54
useDefault = true # SEE: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml

scripts/init.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include scripts/tests/test.mk
77
# ==============================================================================
88

99
runner-act: # Run GitHub Actions locally - mandatory: workflow=[workflow file name], job=[job name] @Development
10-
. ./scripts/docker/docker.lib.sh
10+
source ./scripts/docker/docker.lib.sh
1111
act $(shell [[ "${VERBOSE}" =~ ^(true|yes|y|on|1|TRUE|YES|Y|ON)$$ ]] && echo --verbose) \
1212
--container-architecture linux/amd64 \
1313
--platform ubuntu-latest=$$(name="ghcr.io/nhs-england-tools/github-runner-image" docker-get-image-version-and-pull) \
@@ -21,7 +21,7 @@ runner-act: # Run GitHub Actions locally - mandatory: workflow=[workflow file na
2121
--job ${job}
2222

2323
version-create-effective-file: # Create effective version file - optional: dir=[path to the VERSION file to use, default is '.'], BUILD_DATETIME=[build date and time in the '%Y-%m-%dT%H:%M:%S%z' format generated by the CI/CD pipeline, default is current date and time] @Development
24-
. ./scripts/docker/docker.lib.sh
24+
source scripts/docker/docker.lib.sh
2525
version-create-effective-file
2626

2727
shellscript-lint-all: # Lint all shell scripts in this project, do not fail on error, just print the error messages @Quality

scripts/maintenance/merge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const tokenize = line => {
2525
if (line === '') {
2626
return [];
2727
}
28-
return line.split(/\s+|[:=]/).filter(x => x !== '#' && x !== '').slice(0, 1);
28+
return line.split(/\s+/).filter(x => x !== '#').slice(0, 1);
2929
};
3030
const lines1Tokens = lines1.flatMap(tokenize);
3131

0 commit comments

Comments
 (0)