mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Minimize workflow runs on Dependabot updates
Workflows will only run when their own workflow file changes, not on other workflow files. Dependabot branches are ignored for "push" builds, will only run on "pull" builds as code scanning on dependabot is not available for "push" builds. Closes #12911
This commit is contained in:
committed by
Bruno Oliveira da Silva
parent
5801ed27a0
commit
a1c0e5b113
4
.github/workflows/codeql-java-analysis.yml
vendored
4
.github/workflows/codeql-java-analysis.yml
vendored
@@ -7,7 +7,9 @@ name: "CodeQL Java"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore: [main]
|
||||
branches-ignore:
|
||||
- 'main'
|
||||
- 'dependabot/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user