Skip to content

Commit

Permalink
Merge pull request #2770 from thaJeztah/codeql_cron_only
Browse files Browse the repository at this point in the history
GH Actions: run CodeQL only on cron-job, not on pull requests
  • Loading branch information
silvin-lubecki authored Oct 1, 2020
2 parents 749c62f + 0d11ef3 commit 9b92be0
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
name: "CodeQL"

on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
# push:
# branches: [master]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [master]
schedule:
- cron: '0 9 * * 5'
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '0 9 * * 4'

jobs:
analyze:
Expand Down

0 comments on commit 9b92be0

Please sign in to comment.