Skip to content

.github/workflows/gitleaks_defenderforcloud.yml #102

.github/workflows/gitleaks_defenderforcloud.yml

.github/workflows/gitleaks_defenderforcloud.yml #102

---
name: Gitleaks_DefenderforCloud
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "0 22 * * *" # every day 22:00 UTC
permissions:
actions: read
contents: read
security-events: write
pull-requests: read
concurrency:
group: gitleaks-${{ github.ref }}
cancel-in-progress: true
jobs:
scan:
uses: NHSDigital/nhsapp-github-migration-tools/.github/workflows/gitleaks_secret_scan.yml@main
secrets:
NHSAPP_GITLEAKS_LICENSE: ${{ secrets.NHSAPP_GITLEAKS_LICENSE }}
scan2:
needs: scan
if: always()
uses: NHSDigital/nhsapp-github-migration-tools/.github/workflows/gitleaks_defenderforcloud.yml@main

Check failure on line 26 in .github/workflows/gitleaks_defenderforcloud.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gitleaks_defenderforcloud.yml

Invalid workflow file

error parsing called workflow ".github/workflows/gitleaks_defenderforcloud.yml" -> "NHSDigital/nhsapp-github-migration-tools/.github/workflows/gitleaks_defenderforcloud.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
artifact_name: gitleaks-results.sarif
# yamllint disable-line rule:new-line-at-end-of-file
sarif_path: results.sarif