Skip to content

Commit

Permalink
Merge pull request #292 from armanbilge/issue/177
Browse files Browse the repository at this point in the history
Don't run ci on `pr/**` branches
  • Loading branch information
armanbilge authored Jun 10, 2022
2 parents e7ba974 + 1f36e90 commit 804f0e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: Continuous Integration

on:
pull_request:
branches: ['**', '!update/**']
branches: ['**', '!update/**', '!pr/**']
push:
branches: ['**', '!update/**']
branches: ['**', '!update/**', '!pr/**']
tags: [v*]

env:
Expand Down
5 changes: 4 additions & 1 deletion ci/src/main/scala/org/typelevel/sbt/TypelevelCiPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ object TypelevelCiPlugin extends AutoPlugin {
tlCiScalafixCheck := false,
tlCiMimaBinaryIssueCheck := true,
tlCiDocCheck := true,
githubWorkflowTargetBranches += "!update/**", // ignore steward branches
githubWorkflowTargetBranches ++= Seq(
"!update/**", // ignore steward branches
"!pr/**" // escape-hatch to disable ci on a branch
),
githubWorkflowPublishTargetBranches := Seq(),
githubWorkflowBuild := {

Expand Down

0 comments on commit 804f0e8

Please sign in to comment.