fix: upstream discovery args metadata field caused crash. (#2832) #6681
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Scan git repos (or files) for secrets using regex and entropy 🔑 | |
name: gitLeaks | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
jobs: | |
gitleaks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '1' | |
submodules: recursive | |
- name: wget | |
shell: bash | |
run: | | |
wget https://raw.githubusercontent.com/ycjcl868/gitleaks/master/.gitleaks.toml | |
- name: gitleaks-action | |
uses: ./.github/actions/gitleaks-action |