diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index cb68e16d5518..d28c706b4057 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -57,6 +57,7 @@ jobs: !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]') && + !contains(github.event.head_commit.message, '[ci doc]') && ( github.event_name == 'push' || github.event_name == 'pull_request' && diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e13149118a52..3479beb44faa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ env: jobs: test: - if: "github.event_name == 'workflow_dispatch' || github.repository == 'matplotlib/matplotlib' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" + if: "github.event_name == 'workflow_dispatch' || github.repository == 'matplotlib/matplotlib' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]' && !contains(github.event.head_commit.message, '[ci doc]')" permissions: contents: read name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f886405b605f..902669eb22fe 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,7 +27,7 @@ stages: git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "` echo "##vso[task.setvariable variable=log]$git_log" - bash: echo "##vso[task.setvariable variable=RET]false" - condition: or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]')) + condition: or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]'), contains(variables.log, '[ci doc]')) - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET" name: result diff --git a/doc/devel/coding_guide.rst b/doc/devel/coding_guide.rst index d584a1c986e7..0bbe78eb390a 100644 --- a/doc/devel/coding_guide.rst +++ b/doc/devel/coding_guide.rst @@ -373,6 +373,8 @@ will run on all supported platforms and versions of Python. - Azure Pipelines: ``[skip azp]`` - CircleCI: ``[skip circle]`` + If you only want to run documentation CI you can pass ``[ci doc]``. + .. _pr-squashing: Number of commits and squashing