Skip to content

Commit b3a9afb

Browse files
authored
Chore: [AEA-0000] - use fixed version of quality checks (#60)
## Summary - Routine Change ### Details - use a fixed version of quality checks - add secret scanning
1 parent 484884e commit b3a9afb

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"installDockerBuildx": "true"
2222
}
2323
},
24+
"remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" },
2425
"containerUser": "vscode",
2526
"customizations": {
2627
"vscode": {

.gitallowed

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
2+
github-token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
3+
token: ?"?\$\{\{\s*secrets\.DEPENDABOT_TOKEN\s*\}\}"?
4+
id-token: write
5+
self.token = token
6+
--token=\$\{\{\s*steps\.generate-token\.outputs\.token\s*\}\}
7+
--token=\$GITHUB-TOKEN
8+
--token="\$GITHUB-TOKEN"
9+
"accountId": "123456789012"
10+
accountId: "123456789012"
11+
console\.log\(`access token : \${access_token}`\)
12+
.*CidrBlock.*
13+
.*Gemfile\.lock.*
14+
.*\.gitallowed.*
15+
.*nhsd-rules-deny.txt.*
16+
.*\.venv.*
17+
.*node_modules.*

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99

1010
jobs:
1111
quality_checks:
12-
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@main
12+
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@4.0.5
1313
secrets:
1414
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1515

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: ./.github/workflows/pr_title_check.yml
1313

1414
quality_checks:
15-
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@main
15+
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@v4.0.5
1616
secrets:
1717
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1818

0 commit comments

Comments
 (0)