diff --git a/.github/workflows/git_AUTH_gitleaks.yml b/.github/workflows/git_AUTH_gitleaks.yml deleted file mode 100644 index b73a9ce9d..000000000 --- a/.github/workflows/git_AUTH_gitleaks.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Gitleaks Secrets Scan -on: [push] -jobs: - Credentials_Scanning: - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - - name: Run Gitleaks from container - run: | - git clone https://github.com/christosservos/Alamofire.git - docker run --user root --volume ${{ github.workspace }}:/src --interactive zricethezav/gitleaks detect --source=/src --verbose --no-git --report-path /src/gitleaks-reports.json - continue-on-error: true - permissions: - read - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # Needed to get PR information, if any - - - - name: upload_artifacts - uses: actions/upload-artifact@v3 - with: - name: Gitleaks_Artifact - path: ${{ github.workspace }}/gitleaks-reports.json -