Fixed CodeQL failures on master push (#19866)

* Running CodeQL everyday twice

* Updated scorecard-check to run everyday

* Running Scorecard job once a day

* Disabling Scorecard Job on every PR

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Rohitesh Gupta
2022-03-30 10:52:22 +05:30
committed by GitHub
parent 27b5a703ee
commit 00d445d533
2 changed files with 2 additions and 6 deletions

View File

@@ -1,13 +1,11 @@
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '0 0 * * 0'
- cron: '30 5,17 * * *'
jobs:
analyze:

View File

@@ -3,9 +3,7 @@ on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '44 6 * * 4'
push:
branches: [ master ]
- cron: '44 6 * * *'
# Declare default permissions as read only.
permissions: read-all