diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 46a1133..a82733f 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 b8d1a54..eec5b48 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 111b44f..e4e25cc 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/codeql.yml b/.github/workflows/codeql.yml index 89cebc5..aa8781c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,6 +14,9 @@ on: # yamllint disable-line rule:truthy - cron: 20 17 * * 4 jobs: analyze: + 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]'))) name: Analyze runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 0fbee37..764bd71 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 db6b4bb..9f0266b 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/python-unit-test.yml b/.github/workflows/python-unit-test.yml index e3d77f4..68a50c7 100644 --- a/.github/workflows/python-unit-test.yml +++ b/.github/workflows/python-unit-test.yml @@ -16,6 +16,9 @@ permissions: contents: read jobs: python: + 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]'))) strategy: matrix: pyver_os: diff --git a/.github/workflows/qemu-kvm-integration-tests.yml b/.github/workflows/qemu-kvm-integration-tests.yml index 55801c9..82e7e1e 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 91035b3..1e74557 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 0968d25..471e7b4 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: