diff --git a/.gitea/workflows/gitleaks.yaml b/.gitea/workflows/gitleaks.yaml new file mode 100644 index 0000000..9302ab5 --- /dev/null +++ b/.gitea/workflows/gitleaks.yaml @@ -0,0 +1,16 @@ +name: gitleaks +on: + push: + branches: [ master ] + pull_request: + +jobs: + gitleaks: + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run Gitleaks + uses: docker://zricethezav/gitleaks:v8.18.4 + with: + args: detect --no-git --verbose --source ${{ github.workspace }} diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index bf7074c..07402af 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -1,13 +1,5 @@ --- steps: - gitleaks: - image: zricethezav/gitleaks:v8.18.4 - commands: - - gitleaks detect --no-git --verbose --source $CI_WORKSPACE - when: - - event: [push, pull_request, cron] - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - hadolint: image: pipelinecomponents/hadolint:0.26.4 commands: