Skip to content

enable all errorprone checks by default and resolve their nit warnings #876

enable all errorprone checks by default and resolve their nit warnings

enable all errorprone checks by default and resolve their nit warnings #876

Workflow file for this run

name: gitleaks
on:
pull_request: {}
push:
branches: [master, v3.dev]
permissions: read-all
env:
ALLOWED_ENDPOINTS: >
api.github.com:443
github.com:443
objects.githubusercontent.com:443
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: ${{ env.ALLOWED_ENDPOINTS }}
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@44c470ffc35caa8b1eb3e8012ca53c2f9bea4eb5 # v2.3.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}