diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 720b444..5031a46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,12 @@ name: Test -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main env: CTEST_OUTPUT_ON_FAILURE: 1 diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..3527dd0 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,12 @@ +pull_request_rules: + - name: merge automatically when CI passes and PR is approved + conditions: + - check-success = "CMake" + - check-success = "Pip" + - check-success = "pre-commit.ci - pr" + - or: + - author = pre-commit-ci[bot] + - author = dependabot[bot] + - approved-reviews-by = nim65s + actions: + merge: