Skip to content

Commit d79efa7

Browse files
committed
Move to communal qc
Lint script Update pr-link.yml Signed-off-by: Jim Wild <wild.james343@gmail.com> Add empty makefile target Move to communal QC Move to communal QC Add gitallowed Add secret scanning pre-commit hook Bump version Update allowed Upgrade: [dependabot] - bump semantic-release from 24.1.2 to 24.1.3 (#170) Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 24.1.2 to 24.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/semantic-release/semantic-release/releases">semantic-release's releases</a>.</em></p> <blockquote> <h2>v24.1.3</h2> <h2><a href="https://github.com/semantic-release/semantic-release/compare/v24.1.2...v24.1.3">24.1.3</a> (2024-10-18)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>branch-naming:</strong> prevent non-range versions from being identified as maintenance branches (<a href="https://github.com/semantic-release/semantic-release/commit/07f2672e25626b7f8c7329216496bfa962b3c6e9">07f2672</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/semantic-release/semantic-release/commit/9d4e47fbb2be1a17068f7daab6e080b9fd3a5be7"><code>9d4e47f</code></a> Merge pull request <a href="https://redirect.github.com/semantic-release/semantic-release/issues/3479">#3479</a> from abichinger/fix/maintenance-filter</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/07f2672e25626b7f8c7329216496bfa962b3c6e9"><code>07f2672</code></a> fix(branch-naming): prevent non-range versions from being identified as maint...</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/f0ceaa7abb35bef91f3e197556c9d9b0beed0241"><code>f0ceaa7</code></a> chore(deps): update dependency npm-run-all2 to v6.2.4 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3480">#3480</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/c87596ee1603840d50822e002cea837209b3a243"><code>c87596e</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3477">#3477</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/45bf9d601591bf7649926e54a9459c643136b485"><code>45bf9d6</code></a> ci(action): update actions/upload-artifact action to v4.4.3 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3474">#3474</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/e1bebc39c8d347ba7cc6e212de0c6376b7d9b654"><code>e1bebc3</code></a> chore(deps): update dependency got to v14.4.3 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3473">#3473</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/b7f35bd21029334b4dd12dd8e5409cbe905aa543"><code>b7f35bd</code></a> ci(action): update actions/upload-artifact action to v4.4.2 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3472">#3472</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/f937ed10cf080e201d85fcb8aa3aa92508996562"><code>f937ed1</code></a> ci(action): update actions/upload-artifact action to v4.4.1 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3469">#3469</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/b466dbc0fe2d504f64a3e78b58a4cbe794887680"><code>b466dbc</code></a> ci(action): update actions/checkout action to v4.2.1 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3468">#3468</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/1a88cc065a8da4ed2809e14bd2f2921c8792b4ce"><code>1a88cc0</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3467">#3467</a>)</li> <li>Additional commits viewable in <a href="https://github.com/semantic-release/semantic-release/compare/v24.1.2...v24.1.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semantic-release&package-manager=npm_and_yarn&previous-version=24.1.2&new-version=24.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Upgrade: [dependabot] - bump semantic-release from 24.1.3 to 24.2.0 (#173) Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 24.1.3 to 24.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/semantic-release/semantic-release/releases">semantic-release's releases</a>.</em></p> <blockquote> <h2>v24.2.0</h2> <h1><a href="https://github.com/semantic-release/semantic-release/compare/v24.1.3...v24.2.0">24.2.0</a> (2024-10-25)</h1> <h3>Features</h3> <ul> <li>clarify branch existence requirement in error messages (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3462">#3462</a>) (<a href="https://github.com/semantic-release/semantic-release/commit/05a2ea9a060e6508abf92087e8c8cc4a7a85604f">05a2ea9</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/semantic-release/semantic-release/commit/05a2ea9a060e6508abf92087e8c8cc4a7a85604f"><code>05a2ea9</code></a> feat: clarify branch existence requirement in error messages (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3462">#3462</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/8940f32ccce455a01a4e32c101bb0f4a809ab00d"><code>8940f32</code></a> ci(action): update actions/setup-node action to v4.1.0 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3489">#3489</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/789ac43192fa789f160d3bd96e75ede3a91ab70c"><code>789ac43</code></a> chore(deps): update dependency publint to v0.2.12 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3488">#3488</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/3ba76aeb0d9d8712b08de346e394dffd4dfc0dba"><code>3ba76ae</code></a> ci(action): update actions/checkout action to v4.2.2 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3486">#3486</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/8612ff146683886fc3fed8e8c257945aa2750fd6"><code>8612ff1</code></a> chore(deps): update dependency npm-run-all2 to v7.0.1 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3487">#3487</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/e29a8925ebdfb92b9996e36c878553f42295e676"><code>e29a892</code></a> ci(action): update github/codeql-action action to v3.27.0 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3485">#3485</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/98d606e8f069f2fc8d7ed39a7684ab8cfb56acac"><code>98d606e</code></a> chore(deps): update dependency npm-run-all2 to v7 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3483">#3483</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/55938c355cc5e254e3adbc2f5a3f9fa90583a4aa"><code>55938c3</code></a> docs(plugins): community plugin <code>semantic-release-kaniko</code> (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3450">#3450</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/2b4c86cf118d837964385b74deb39ef9e9de8906"><code>2b4c86c</code></a> chore(deps): lock file maintenance (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3481">#3481</a>)</li> <li><a href="https://github.com/semantic-release/semantic-release/commit/41c95020fecb8b4dde156c65d2f503eb85b36a9f"><code>41c9502</code></a> ci(action): update github/codeql-action action to v3.26.13 (<a href="https://redirect.github.com/semantic-release/semantic-release/issues/3424">#3424</a>)</li> <li>See full diff in <a href="https://github.com/semantic-release/semantic-release/compare/v24.1.3...v24.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semantic-release&package-manager=npm_and_yarn&previous-version=24.1.3&new-version=24.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Fix: [AEA-0000] - upgrade tests to work with later validator versions (#172) - Routine Change - upgrade fhir tests so they work with later validator versions - remove hard coded dates - add allure to dev container and add instructions on how to get results locally --------- Co-authored-by: Sean Steberis <103416906+seansteberisal@users.noreply.github.com> Build: [AEA-4506] - Move to communal qc (#168) - 🤖 Operational or Infrastructure Change Replace the `quality-checks.yml` file in the repo with the communal one shared across all EPS projects --------- Signed-off-by: Jim Wild <wild.james343@gmail.com> Co-authored-by: Sean Steberis <103416906+seansteberisal@users.noreply.github.com> Co-authored-by: Anthony Brown <121869075+anthony-nhs@users.noreply.github.com> Upgrade: [AEA-4432] -regression tests for split eps endpoints (#169) Created new tests, feature files and placeholder endpoint names for new split endpoints for EPS prescribing and dispensing - ✨ New Feature --------- Co-authored-by: Sean Steberis <103416906+seansteberisal@users.noreply.github.com> Co-authored-by: SeanSteberis <sean.steberis@airelogic.com> Update: [AEA-0000] - exclude messages folder from code duplication checks (#174) - Routine Change Fix: [AEA-0000] - Fix EPS Fhir URL logic (#176) - Routine Change reversed logic to only apply split endpoints when product is NOT "EPS-FHIR-DISPENSING" and "EPS-FHIR-PRESCRIBING" New: [AEA-4607] - Amendments to test report history (#175) - Routine Change only trigger report building if there are test failures
1 parent a4602b2 commit d79efa7

34 files changed

+516
-106
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ ENV PATH="$PATH:/home/vscode/.asdf/bin/"
2525
RUN asdf plugin add python; \
2626
asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git; \
2727
asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git; \
28-
asdf plugin add nodejs;\
29-
asdf plugin add actionlint;
28+
asdf plugin add nodejs; \
29+
asdf plugin add actionlint; \
30+
asdf plugin add allure
3031

3132
WORKDIR /workspaces/electronic-prescription-service-api-regression-tests
3233
ADD .tool-versions /workspaces/electronic-prescription-service-api-regression-tests/.tool-versions

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"version": "latest",
1919
"moby": "true",
2020
"installDockerBuildx": "true"
21-
}
21+
},
22+
"ghcr.io/devcontainers/features/github-cli:1": {}
2223
},
2324
"customizations": {
2425
"vscode": {
@@ -58,7 +59,8 @@
5859
}
5960
}
6061
},
61-
"postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/electronic-prescription-service-api-regression-tests; make install"
62+
"remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" },
63+
"postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/electronic-prescription-service-api-regression-tests; make install; docker build -f https://raw.githubusercontent.com/NHSDigital/eps-workflow-quality-checks/refs/heads/main/dockerfiles/nhsd-git-secrets.dockerfile -t git-secrets ."
6264
// "features": {},
6365
// Use 'forwardPorts' to make a list of ports inside the container available locally.
6466
// "forwardPorts": [],

.gitallowed

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
char\[\] password = System\.getenv\("MVNW_PASSWORD"\)\.toCharArray\(\);
2+
wget --http-user=\$MVNW_USERNAME --http-.*
3+
<version>1\.8\.0\.1<\/version>
4+
github-token: ?"?\$\{\{\s*secrets\.GITHUB_TOKEN\s*\}\}"?
5+
"code": "1\.2\.840\.10065\.1\.12\.1\.1"
6+
java corretto-21\.0\.2\.14\.1
7+
CidrIp: "0\.0\.0\.0\/0"
8+
CidrBlock:\s?"?10\.0\.\d+\.\d+\/\d+"
9+
.*cloudfront\/IOPSValidation\.yaml.*
10+
.*tcp:\/\/0\.0\.0\.0:8888.*
11+
.*\.gitallowed.*
12+
.*steps\.generate-token\.outputs\.token.*
13+
.*token_response\[\"access_token\"\].*
14+
.*password=None.*
15+
.*secrets.REGRESSION_TESTS_PAT.*

.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: ./.github/workflows/quality_checks.yml
12+
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@v4.0.2
1313
secrets:
1414
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1515

.github/workflows/pr-link.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: PR Link ticket
2-
on:
2+
on:
33
pull_request:
44
types: [opened]
55
jobs:
@@ -9,23 +9,38 @@ jobs:
99
REF: ${{ github.event.pull_request.head.ref }}
1010
steps:
1111
- name: Check ticket name conforms to requirements
12-
run: echo "$REF" | grep -i -E -q "(aea-[0-9]+)|(dependabot\/)"
12+
run: echo "$REF" | grep -i -E -q "(aea-[0-9]+)|(apm-[0-9]+)|(apmspii-[0-9]+)|(adz-[0-9]+)|(amb-[0-9]+)|(dependabot\/)"
1313
continue-on-error: true
1414

1515
- name: Grab ticket name
16-
if: contains(github.event.pull_request.head.ref, 'aea-') || contains(github.event.pull_request.head.ref, 'AEA-')
17-
run: echo name=TICKET_NAME::"$(echo "$REF" | grep -i -o '\(aea-[0-9]\+\)' | tr '[:lower:]' '[:upper:]')" >> "$GITHUB_ENV"
16+
if: contains(github.event.pull_request.head.ref, 'aea-') || contains(github.event.pull_request.head.ref, 'AEA-') || contains(github.event.pull_request.head.ref, 'apm-') || contains(github.event.pull_request.head.ref, 'APM-') || contains(github.event.pull_request.head.ref, 'apmspii-') || contains(github.event.pull_request.head.ref, 'APMSPII-') || contains(github.event.pull_request.head.ref, 'adz-') || contains(github.event.pull_request.head.ref, 'ADZ-') || contains(github.event.pull_request.head.ref, 'amb-') || contains(github.event.pull_request.head.ref, 'AMB-')
1817
continue-on-error: true
19-
env:
20-
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
18+
run: |
19+
# Match ticket name patterns
20+
REGEX='
21+
(aea-[0-9]+)|
22+
(apm-[0-9]+)|
23+
(apmspii-[0-9]+)|
24+
(adz-[0-9]+)|
25+
(amb-[0-9]+)
26+
'
27+
28+
# Remove whitespace and newlines from the regex
29+
REGEX=$(echo "$REGEX" | tr -d '[:space:]')
30+
31+
# Extract the ticket name and convert to uppercase
32+
TICKET_NAME=$(echo "$REF" | grep -i -E -o "$REGEX" | tr '[:lower:]' '[:upper:]')
33+
34+
# Set the environment variable
35+
echo "TICKET_NAME=$TICKET_NAME" >> "$GITHUB_ENV"
2136
2237
- name: Comment on PR with link to JIRA ticket
23-
if: contains(github.event.pull_request.head.ref, 'aea-') || contains(github.event.pull_request.head.ref, 'AEA-')
38+
if: contains(github.event.pull_request.head.ref, 'aea-') || contains(github.event.pull_request.head.ref, 'AEA-') || contains(github.event.pull_request.head.ref, 'apm-') || contains(github.event.pull_request.head.ref, 'APM-') || contains(github.event.pull_request.head.ref, 'apmspii-') || contains(github.event.pull_request.head.ref, 'APMSPII-') || contains(github.event.pull_request.head.ref, 'adz-') || contains(github.event.pull_request.head.ref, 'ADZ-') || contains(github.event.pull_request.head.ref, 'amb-') || contains(github.event.pull_request.head.ref, 'AMB-')
2439
continue-on-error: true
25-
uses: unsplash/comment-on-pr@master
40+
uses: unsplash/comment-on-pr@b5610c6125a7197eaec80072ea35ef53e1fc6035
2641
env:
2742
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2843
with:
2944
msg: |
30-
This branch is work on a ticket in the NHS England AEA JIRA Project. Here's a handy link to the ticket:
45+
This branch is work on a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:
3146
# [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME }})

.github/workflows/pull_request.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ env:
99

1010
jobs:
1111
quality_checks:
12-
uses: ./.github/workflows/quality_checks.yml
12+
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@v4.0.2
1313
secrets:
1414
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
15-
1615

1716
pr_title_format_check:
1817
uses: ./.github/workflows/pr_title_check.yml

.github/workflows/quality_checks.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/regression_tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
type: choice
1818
options:
1919
- EPS-FHIR
20+
- EPS-FHIR-PRESCRIBING
21+
- EPS-FHIR-DISPENSING
2022
- PFP-APIGEE
2123
- PFP-AWS
2224
- PSU
@@ -128,13 +130,10 @@ jobs:
128130
owner: "NHSDigital"
129131
repositories: "electronic-prescription-service-api-regression-tests,eps-test-reports"
130132

131-
- name: Send Results
132-
run: |
133-
poetry run python scripts/send_test_results.py --token=${{ steps.generate-token.outputs.token }} --run_id ${{GITHUB.RUN_ID}}
134-
135133
- name: Report failure on test failure
136134
if: steps.tests.outcome != 'success'
137135
run: |
136+
poetry run python scripts/send_test_results.py --token=${{ steps.generate-token.outputs.token }} --run_id ${{GITHUB.RUN_ID}}
138137
echo The regression tests step failed, this likely means there are test failures.
139-
echo The report will be generated shortly
138+
echo A test report will be generated shortly and can be viewed at: https://nhsdigital.github.io/eps-test-reports
140139
exit 1

.github/workflows/release.yml

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

99
jobs:
1010
quality_checks:
11-
uses: ./.github/workflows/quality_checks.yml
11+
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/quality-checks.yml@v4.0.2
1212
secrets:
1313
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1414

.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,17 @@ repos:
4747
entry: flake8
4848
language: system
4949
types: [python]
50-
50+
51+
- repo: local
52+
hooks:
53+
- id: git-secrets
54+
name: Git Secrets
55+
description: git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
56+
entry: bash
57+
args:
58+
- -c
59+
- 'docker run -v "$LOCAL_WORKSPACE_FOLDER:/src" git-secrets --pre_commit_hook'
60+
language: system
5161

5262
fail_fast: false
5363
default_stages: [pre-commit, commit]

0 commit comments

Comments
 (0)