fix: ProfileChanger: Now the time condition only changes if it is in … #1922
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
name: gitleaks | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 18 * * 1" # At 06:00 PM, only on Monday | |
jobs: | |
scan: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: gitleaks/gitleaks-action@v2.3.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |