Skip to content

Commit

Permalink
.github/codeql: Limit CodeQL workflow to code changes on Go code
Browse files Browse the repository at this point in the history
This commit changes the CodeQL workflow to only run when the code
touches .go files. That should reduce the number of times we run this
~20min-long workflow.

Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno authored and aanm committed Jun 3, 2021
1 parent 90cb786 commit 15cc82a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/lint-codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: codeql

on:
push: {}
pull_request: {}
push:
paths:
- '*.go'
- 'go.mod'
- 'go.sum'
pull_request:
paths:
- '*.go'
- 'go.mod'
- 'go.sum'
schedule:
- cron: "45 6 * * 3"

Expand Down

0 comments on commit 15cc82a

Please sign in to comment.