Skip to content

Commit

Permalink
adding schedule job
Browse files Browse the repository at this point in the history
  • Loading branch information
Azfaar Qureshi committed Dec 30, 2020
1 parent 79d7c05 commit 63c40e3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 63c40e3

Please sign in to comment.