Skip to content

Commit dff0adb

Browse files
Do not run primers tests on backporting branches
1 parent e734e46 commit dff0adb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/primer-test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
push:
55
branches:
66
- main
7-
- "maintenance/**"
87
pull_request:
98
paths:
109
- "pylint/**"
1110
- "tests/primer/**"
1211
- "requirements*"
1312
- ".github/workflows/primer-test.yaml"
14-
13+
branches:
14+
- main
1515
env:
1616
CACHE_VERSION: 1
1717
KEY_PREFIX: venv

.github/workflows/primer_run_pr.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
- "!.github/workflows/primer_run_main.yaml"
1717
- "!.github/workflows/primer_comment.yaml"
1818
- "!tests/primer/packages_to_prime.json"
19+
branches:
20+
- main
1921

2022
concurrency:
2123
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)