summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2020-12-20 15:18:46 +0900
committerKOBAYASHI Shuji <[email protected]>2020-12-20 15:31:15 +0900
commit74e1d1ea02283f3f72ee6613e2433ceb9a8d4597 (patch)
tree3afe5d4de99bd83bb9dfad2ba9148195c6fe58b8 /.github/workflows/codeql-analysis.yml
parenta5283125424eeaa4f0436c195face0550c09a57f (diff)
downloadmruby-74e1d1ea02283f3f72ee6613e2433ceb9a8d4597.tar.gz
mruby-74e1d1ea02283f3f72ee6613e2433ceb9a8d4597.zip
Reorganize GitHub Actions configuration [skip travis][skip appveyor]
* Skip if commit message contains `ci skip`, `skip ci`, or `skip gha` ENCLOSED WITH BRACKETS (excluding lint job). * Separate build and test. This is because builds can be run in parallel, but running tests in parallel can cause logs to get mixed up or not finished. * Don't use Chocolatey because it seems to take 1-2 minutes to start up. * Use the cache better. * Use `actions/checkout@v2` instead of `actions/checkout@v1`. * Remove unnecessary package installation. * Remove unnecessary flag settings. * Remove `-j` for rake because it doesn't seem to have any effect. * Rename `main.yml` to `oss-fuzz.yml` to clarify.
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index ea9f9bd8e..19fb63b35 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -8,6 +8,10 @@ on:
jobs:
CodeQL-Build:
+ if: |
+ !contains(github.event.head_commit.message, '[ci skip]') &&
+ !contains(github.event.head_commit.message, '[skip ci]') &&
+ !contains(github.event.head_commit.message, '[skip gha]')
runs-on: ubuntu-latest