Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new "Ready To Merge" approach for GHA #59

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ jobs:
scala: >-
[ "2.12.15", "2.13.8" ]
cmd: sbt ++$SCALA_VERSION test

finish:
name: Finish
needs: # Should be last
- "tests"
uses: playframework/.github/.github/workflows/rtm.yml@v1
14 changes: 2 additions & 12 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,12 @@ queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 8$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 8$
- check-success~=/ Ready To Merge$

pull_request_rules:
- name: Merge PRs that are ready
conditions:
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 8$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 8$
- check-success~=/ Ready To Merge$
- check-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
Expand Down