Open adharshmk96 opened 1 year ago
--- # This runs Yelp's 'detect-secrets': https://github.com/Yelp/detect-secrets/blob/master/README.md name: Scan Code for Secrets on: pull_request: - opened - reopened - ready_for_review - synchronize push: branches: - '**' tags: - '!**' jobs: check-for-secrets: runs-on: 'ubuntu-latest' steps: - name: Checkout uses: actions/checkout@v2 - name: Run Yelp's detect-secrets uses: RobertFischer/detect-secrets-action@v2.0.0 - name: Commit back .secrets.baseline (if it was missing) uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: "build(detect-secrets): Commit the newly-generated .secrets.baseline file"
refer: https://github.com/goreleaser/goreleaser/blob/main/.github/workflows/lint.yml for linting