Skip to content

Commit 469e25b

Browse files
committed
allow skipping ci based on a label
1 parent ef2ba5d commit 469e25b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ jobs:
3535
name: ${{ matrix.os }} py${{ matrix.python-version }}
3636
runs-on: ${{ matrix.os }}
3737
needs: detect-ci-trigger
38-
if: needs.detect-ci-trigger.outputs.triggered == 'false'
38+
if: |
39+
needs.detect-ci-trigger.outputs.triggered == 'false'
40+
|| contains(github.event.pull_request.labels.*.name, 'skip-ci')
41+
3942
env:
4043
FORCE_COLOR: 3
4144
CONDA_ENV_FILE: "ci/requirements/environment.yaml"

0 commit comments

Comments
 (0)