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

Add Bors to merge pull requests #537

Merged
3 commits merged into from
Oct 14, 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
15 changes: 15 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and test
on:
pull_request: { }
push:
branches:
- 'staging'
workflow_call: { }
jobs:
code-formatting:
Expand Down Expand Up @@ -118,6 +121,18 @@ jobs:
path: "*/target/surefire-reports/"
retention-days: 7

test-summary:
# Used by bors to check all tests, including the unit test matrix.
# New test jobs must be added to the `needs` lists!
# This name is hard-referenced from bors.toml; remember to update that if this name changes
name: Test summary
runs-on: ubuntu-latest
needs:
- code-formatting
- build-and-test-embedded
- build-and-test-testcontainers
steps:
- run: exit 0

# We need to upload the event file as an artifact in order to support publishing the results of
# forked repositories (https://github.com/EnricoMi/publish-unit-test-result-action#support-fork-repositories-and-dependabot-branches)
Expand Down
9 changes: 9 additions & 0 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
status = [
"Test summary",
]

required_approvals = 1

delete_merged_branches = true

commit_title = "merge: ${PR_REFS}"