summaryrefslogtreecommitdiffstats
path: root/.github/workflows/secret-scanner.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-15 20:30:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-10-15 20:32:01 +0000
commite45744e7c5b9916c398fe41273194ffb671fcdac (patch)
tree620ad07a959cf23c8fef76d2967d31eb9c29e6ec /.github/workflows/secret-scanner.yml
parentReleasing debian version 1.0.0-1. (diff)
downloadanta-e45744e7c5b9916c398fe41273194ffb671fcdac.tar.xz
anta-e45744e7c5b9916c398fe41273194ffb671fcdac.zip
Merging upstream version 1.1.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/secret-scanner.yml')
-rw-r--r--.github/workflows/secret-scanner.yml19
1 files changed, 2 insertions, 17 deletions
diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml
index 8210953..80a0fe7 100644
--- a/.github/workflows/secret-scanner.yml
+++ b/.github/workflows/secret-scanner.yml
@@ -10,21 +10,6 @@ jobs:
scan_secret:
name: Scan incoming changes
runs-on: ubuntu-latest
- container:
- image: ghcr.io/aristanetworks/secret-scanner-service:main
- options: --name sss-scanner
- steps:
- - name: Checkout ${{ github.ref }}
- # Hitting https://github.com/actions/checkout/issues/334 so trying v1
- uses: actions/checkout@v1
- with:
- fetch-depth: 0
+ steps:
- name: Run scanner
- run: |
- git config --global --add safe.directory $GITHUB_WORKSPACE
- scanner commit . github ${{ github.repository }} \
- --markdown-file job_summary.md \
- ${{ github.event_name == 'pull_request' && format('--since-commit {0}', github.event.pull_request.base.sha) || ''}}
- - name: Write result to summary
- run: cat ./job_summary.md >> $GITHUB_STEP_SUMMARY
- if: ${{ always() }}
+ uses: aristanetworks/secret-scanner-service-public@main