bumping artifact dep #315
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
# Copyright © 2022 Gitleaks LLC - All Rights Reserved. | |
# You may use this code under the terms of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT. | |
# You should have received a copy of the GITLEAKS-ACTION END-USER LICENSE AGREEMENT with this file. | |
# If not, please visit https://gitleaks.io/COMMERCIAL-LICENSE.txt. | |
name: gitleaks | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
scan: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: gitleaks/gitleaks-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} | |
# examples of how to use optional configs: | |
# GITLEAKS_CONFIG: "configs/simple-config.toml" | |
# GITLEAKS_NOTIFY_USER_LIST: "@zricethezav" |