diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index 73ea3cfe839..7fe7d1bad8c 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -1,10 +1,18 @@ name: Run Gosec on: push: - branches: [master] - pull_request: - branches: [master] workflow_dispatch: + schedule: + # ┌───────────── minute (0 - 59) + # │ ┌───────────── hour (0 - 23) + # │ │ ┌───────────── day of the month (1 - 31) + # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) + # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) + # │ │ │ │ │ + # │ │ │ │ │ + # │ │ │ │ │ + # * * * * * + - cron: '30 2 * * *' jobs: tests: runs-on: ubuntu-latest