Skip to content

Commit

Permalink
limit CodeQL to certain PR events
Browse files Browse the repository at this point in the history
  • Loading branch information
yoomlam committed Aug 27, 2022
1 parent 99f2426 commit ea4be65
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: "CodeQL vulnerability scan"

on:
push:
branches: [ main, develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, develop ]
# Limit to certain PR event types since this action is slow
types: [ready_for_review, review_requested]

# When changes are pushed to special branches
push:
branches: [ main, develop ]

# In case vulnerability checks are updated
schedule:
- cron: '27 2 * * 1'

# Allow manual triggering
workflow_dispatch:

env:
GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

Expand Down

0 comments on commit ea4be65

Please sign in to comment.