Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zapscan #1667

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
85 changes: 0 additions & 85 deletions .github/workflows/gobuild.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/release.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/zapscan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Gitleaks Scan

on:
push:
branches:
- main

jobs:
gitleaks-scan:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install gitleaks
run: |
wget https://github.com/zricethezav/gitleaks/releases/download/v7.4.1/gitleaks-linux-amd64 -O gitleaks
chmod +x gitleaks
sudo mv gitleaks /usr/local/bin/
- name: Run gitleaks scan
run: |
gitleaks --verbose
- name: Upload gitleaks report
if: failure()
uses: actions/upload-artifact@v2
with:
name: gitleaks-report