Skip to content

Commit 1f36e90

Browse files
committed
Don't run ci on pr/** branches
1 parent 357eb9f commit 1f36e90

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ name: Continuous Integration
99

1010
on:
1111
pull_request:
12-
branches: ['**', '!update/**']
12+
branches: ['**', '!update/**', '!pr/**']
1313
push:
14-
branches: ['**', '!update/**']
14+
branches: ['**', '!update/**', '!pr/**']
1515
tags: [v*]
1616

1717
env:

ci/src/main/scala/org/typelevel/sbt/TypelevelCiPlugin.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ object TypelevelCiPlugin extends AutoPlugin {
5050
tlCiScalafixCheck := false,
5151
tlCiMimaBinaryIssueCheck := true,
5252
tlCiDocCheck := true,
53-
githubWorkflowTargetBranches += "!update/**", // ignore steward branches
53+
githubWorkflowTargetBranches ++= Seq(
54+
"!update/**", // ignore steward branches
55+
"!pr/**" // escape-hatch to disable ci on a branch
56+
),
5457
githubWorkflowPublishTargetBranches := Seq(),
5558
githubWorkflowBuild := {
5659

0 commit comments

Comments
 (0)