From 9c05bc955a6c27d605b966f8fa749af774cb6d2d Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Wed, 10 Feb 2021 10:52:27 +0100 Subject: [PATCH] GitHub Actions now supports skipping tests https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/ > GitHub Actions now supports skipping push and pull_request workflows by > looking for some common keywords in your commit message. > > If any commit message in your push or the HEAD commit of your PR > contains the strings [skip ci], [ci skip], [no ci], [skip actions], or > [actions skip] workflows triggered on the push or pull_request events > will be skipped. --- .github/workflows/check_changelog.yml | 2 -- .github/workflows/mri.yml | 5 ----- .github/workflows/non_mri.yml | 5 ----- 3 files changed, 12 deletions(-) diff --git a/.github/workflows/check_changelog.yml b/.github/workflows/check_changelog.yml index ed030b2b91..00b593723b 100644 --- a/.github/workflows/check_changelog.yml +++ b/.github/workflows/check_changelog.yml @@ -10,8 +10,6 @@ jobs: if: | !( contains(github.event.pull_request.title, '[changelog skip]') || contains(github.event.pull_request.title, '[skip changelog]') - || contains(github.event.pull_request.title, '[ci skip]') - || contains(github.event.pull_request.title, '[skip ci]')) steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/mri.yml b/.github/workflows/mri.yml index ca630d050a..4e9a74fd77 100644 --- a/.github/workflows/mri.yml +++ b/.github/workflows/mri.yml @@ -11,11 +11,6 @@ jobs: TESTOPTS: -v runs-on: ${{ matrix.os }} - if: | - !( contains(github.event.pull_request.title, '[ci skip]') - || contains(github.event.pull_request.title, '[skip ci]') - || contains(github.event.head_commit.message, '[ci skip]') - || contains(github.event.head_commit.message, '[skip ci]')) strategy: fail-fast: false matrix: diff --git a/.github/workflows/non_mri.yml b/.github/workflows/non_mri.yml index de986756d7..901963cd62 100644 --- a/.github/workflows/non_mri.yml +++ b/.github/workflows/non_mri.yml @@ -11,11 +11,6 @@ jobs: TESTOPTS: -v runs-on: ${{ matrix.os }} - if: | - !( contains(github.event.pull_request.title, '[ci skip]') - || contains(github.event.pull_request.title, '[skip ci]') - || contains(github.event.head_commit.message, '[ci skip]') - || contains(github.event.head_commit.message, '[skip ci]')) strategy: fail-fast: false matrix: