修复变量不存在导致的 run test 报错 #4287
This file contains hidden or 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
name: gitleaks | |
on: [push, pull_request] | |
jobs: | |
gitleaks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: wget | |
uses: wei/wget@v1 | |
with: | |
args: -O .gitleaks.toml https://raw.githubusercontent.com/ycjcl868/gitleaks/master/.gitleaks.toml | |
- name: gitleaks-action | |
uses: gitleaks/[email protected] |