homeserver/.gitea/workflows/gitleaks.yaml

25 lines
581 B
YAML
Raw Normal View History

2024-08-22 21:30:12 +02:00
name: gitleaks
2024-08-22 22:01:32 +02:00
on:
push:
branches: [ master ]
pull_request:
2024-08-22 21:30:12 +02:00
2024-08-22 22:03:11 +02:00
# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre
concurrency:
2024-08-22 22:04:51 +02:00
group: ${{ github.workflow }}-${{ github.ref }}
2024-08-22 22:03:11 +02:00
cancel-in-progress: true
2024-08-22 22:04:51 +02:00
2024-08-22 21:30:12 +02:00
jobs:
gitleaks:
#runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Gitleaks
uses: docker://zricethezav/gitleaks:v8.18.4
with:
args: detect --no-git --verbose --source ${{ github.workspace }}
2024-08-22 22:05:02 +02:00
# ff