From 74e1d1ea02283f3f72ee6613e2433ceb9a8d4597 Mon Sep 17 00:00:00 2001 From: KOBAYASHI Shuji Date: Sun, 20 Dec 2020 15:18:46 +0900 Subject: 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. --- .github/workflows/codeql-analysis.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows/codeql-analysis.yml') 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 -- cgit v1.2.3