diff options
author | 2020-11-29 14:04:22 +0000 | |
---|---|---|
committer | 2020-11-29 14:04:22 +0000 | |
commit | 4b0b7ec216ec1a1f337a3a37b2c514bcd6842629 (patch) | |
tree | bb9c139f63e47dc2d6cd8c30f4369f5f7ce19128 /.github/workflows/codeql-analysis.yml | |
parent | Fix building C# projects in Godot (#3778) (diff) | |
download | firejail-4b0b7ec216ec1a1f337a3a37b2c514bcd6842629.tar.gz firejail-4b0b7ec216ec1a1f337a3a37b2c514bcd6842629.tar.zst firejail-4b0b7ec216ec1a1f337a3a37b2c514bcd6842629.zip |
Update build.yml (#3779)
* Update build.yml
Currently we run all actions for all commits. This is not resource friendly. Let's tweak this a bit.
This commit adds support for "skip ci" tags (i.e. if the head commit contains [s k i p c i] (w/o the extra spaces used to escape here), no jobs are executed.
In addition are all commits which modify non-code files (e.g. README) only excluded.
Furthermore we should not run cppcheck and scan-build if only profiles are changed and sort.py need only to be execute if profiles are changed.
* Create sort.yml
* Update build.yml
profile-sort is now in sort.yml
* Update sort.yml
fix syntax
* Update codeql-analysis.yml
paths-ignore:
- CONTRIBUTING.md
- README
- README.md
- RELNOTES
- SECURITY.md
- 'etc/**'
* Create build-extra.yml
* Update build.yml
* Update build-extra.yml
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a37bbb5c7..301c7fad2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml | |||
@@ -8,9 +8,23 @@ name: "CodeQL" | |||
8 | on: | 8 | on: |
9 | push: | 9 | push: |
10 | branches: [master] | 10 | branches: [master] |
11 | paths-ignore: | ||
12 | - CONTRIBUTING.md | ||
13 | - README | ||
14 | - README.md | ||
15 | - RELNOTES | ||
16 | - SECURITY.md | ||
17 | - 'etc/**' | ||
11 | pull_request: | 18 | pull_request: |
12 | # The branches below must be a subset of the branches above | 19 | # The branches below must be a subset of the branches above |
13 | branches: [master] | 20 | branches: [master] |
21 | paths-ignore: | ||
22 | - CONTRIBUTING.md | ||
23 | - README | ||
24 | - README.md | ||
25 | - RELNOTES | ||
26 | - SECURITY.md | ||
27 | - 'etc/**' | ||
14 | schedule: | 28 | schedule: |
15 | - cron: '0 7 * * 2' | 29 | - cron: '0 7 * * 2' |
16 | 30 | ||