diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f4967b..7b5c3bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -327,6 +327,17 @@ jobs: modules-ignore: rootjs_3 rootjs_2.13 rootjs_2.12 docs_3 docs_2.13 docs_2.12 yaml4s-tests_sjs1_3 yaml4s-tests_sjs1_2.13 yaml4s-tests_sjs1_2.12 rootjvm_3 rootjvm_2.13 rootjvm_2.12 rootnative_3 rootnative_2.13 rootnative_2.12 yaml4s-tests_3 yaml4s-tests_2.13 yaml4s-tests_2.12 yaml4s-tests_native0.4_3 yaml4s-tests_native0.4_2.13 yaml4s-tests_native0.4_2.12 configs-ignore: test scala-tool scala-doc-tool test-internal + post-build: + name: post build + needs: [build] + strategy: + matrix: + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - name: post build + run: echo success! + site: name: Generate Site strategy: diff --git a/.mergify.yml b/.mergify.yml index 2ceeb1a..988f87d 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -2,6 +2,8 @@ pull_request_rules: - name: Automatic merge for dependency updates conditions: - "head~=update/" + - "status-success=post build (ubuntu-latest)" + - or: - "author=hnaderi" - "author=scala-steward" diff --git a/workflows.sbt b/workflows.sbt index 1468d90..33b4d94 100644 --- a/workflows.sbt +++ b/workflows.sbt @@ -41,6 +41,20 @@ ThisBuild / githubWorkflowJobSetup ++= Seq( ) ) +ThisBuild / githubWorkflowAddedJobs += WorkflowJob( + id = "post-build", + name = "post build", + needs = List("build"), + steps = List( + WorkflowStep.Run( + commands = List("echo success!"), + name = Some("post build") + ) + ), + scalas = Nil, + javas = Nil +) + // NOTE apparently githubWorkflowCheck does not work as intended on windows // due to file separator differences ThisBuild / githubWorkflowGeneratedCI ~= {