Skip to content

Commit

Permalink
Fixed CodeQL failures on master push (mattermost#19866)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
srkgupta and mattermod authored Mar 30, 2022
1 parent 27b5a70 commit 00d445d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00d445d

Please sign in to comment.