Skip to content

Commit

Permalink
In CI workflow ignore gh-pages branch (#303)
Browse files Browse the repository at this point in the history
* In CI workflow ignore `gh-pages` branch

* Make it compile

* Regenerated ci workflow
  • Loading branch information
erikvanoosten authored Oct 12, 2023
1 parent 2198e43 commit 8b3c986
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ env:
push:
branches:
- main
pull_request: {}
pull_request:
branches-ignore:
- gh-pages
jobs:
build:
name: Build
Expand Down
2 changes: 1 addition & 1 deletion zio-sbt-ci/src/main/scala/zio/sbt/ZioSbtCiPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ object ZioSbtCiPlugin extends AutoPlugin {
Trigger.WorkflowDispatch(),
Trigger.Release(Seq("published")),
Trigger.Push(branches = enabledBranches.map(Branch.Named)),
Trigger.PullRequest()
Trigger.PullRequest(ignoredBranches = Seq(Branch.Named("gh-pages")))
),
jobs =
buildJobs ++ lintJobs ++ testJobs ++ updateReadmeJobs ++ reportSuccessful ++ releaseJobs ++ postReleaseJobs
Expand Down

0 comments on commit 8b3c986

Please sign in to comment.