diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 46a11330..a82733f1 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -18,6 +18,9 @@ permissions: contents: read jobs: ansible_lint: + if: | + !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || + (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) runs-on: ubuntu-latest steps: - name: Update pip, git diff --git a/.github/workflows/ansible-managed-var-comment.yml b/.github/workflows/ansible-managed-var-comment.yml index b8d1a54c..eec5b48f 100644 --- a/.github/workflows/ansible-managed-var-comment.yml +++ b/.github/workflows/ansible-managed-var-comment.yml @@ -15,6 +15,9 @@ permissions: contents: read jobs: ansible_managed_var_comment: + if: | + !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || + (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) runs-on: ubuntu-latest steps: - name: Update pip, git diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 111b44fb..e4e25cc1 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -18,6 +18,9 @@ permissions: contents: read jobs: ansible_test: + if: | + !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || + (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) runs-on: ubuntu-latest steps: - name: Update pip, git diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 0fbee37c..764bd71d 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -7,6 +7,8 @@ permissions: contents: read jobs: codespell: + if: | + !(github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) name: Check for spelling errors runs-on: ubuntu-latest steps: diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index db6b4bb5..9f0266bb 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -16,6 +16,9 @@ permissions: contents: read jobs: markdownlint: + if: | + !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || + (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) runs-on: ubuntu-latest steps: - name: Update pip, git diff --git a/.github/workflows/qemu-kvm-integration-tests.yml b/.github/workflows/qemu-kvm-integration-tests.yml index 55801c92..82e7e1ec 100644 --- a/.github/workflows/qemu-kvm-integration-tests.yml +++ b/.github/workflows/qemu-kvm-integration-tests.yml @@ -18,6 +18,9 @@ permissions: statuses: write jobs: scenario: + if: | + !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || + (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) runs-on: ubuntu-latest strategy: diff --git a/.github/workflows/test_converting_readme.yml b/.github/workflows/test_converting_readme.yml index 91035b3c..1e745577 100644 --- a/.github/workflows/test_converting_readme.yml +++ b/.github/workflows/test_converting_readme.yml @@ -15,6 +15,9 @@ permissions: contents: read jobs: test_converting_readme: + if: | + !((github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) || + (github.event_name == 'push' && contains(github.event.head_commit.message, '[citest_skip]'))) runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/woke.yml b/.github/workflows/woke.yml index 0968d25e..471e7b42 100644 --- a/.github/workflows/woke.yml +++ b/.github/workflows/woke.yml @@ -5,6 +5,8 @@ on: # yamllint disable-line rule:truthy - pull_request jobs: woke: + if: | + !(github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) name: Detect non-inclusive language runs-on: ubuntu-latest steps: