Skip to content

Commit 6582287

Browse files
committed
CI: Remove CI test runs from forks of matplotlib
This will limit the tests to the main repository and reduce CI waste.
1 parent 552e078 commit 6582287

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414

1515
jobs:
1616
test:
17+
if: "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]')"
1718
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}"
1819
runs-on: ${{ matrix.os }}
1920

0 commit comments

Comments
 (0)