From 9dd1ecdc2ae7be2b876ebae361ceaff915a7addf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Tue, 16 Mar 2021 10:26:08 +0100 Subject: [PATCH] Add bors configuration --- .github/workflows/rust.yml | 10 ++++++++-- bors.toml | 3 +++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 bors.toml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ea4b41a6a..230339c49 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,12 +1,18 @@ name: Rust -on: push +on: + pull_request: + push: + # trying and staging branches are for Bors config + branches: + - trying + - staging env: CARGO_TERM_COLOR: always jobs: - build: + tests: runs-on: ubuntu-latest diff --git a/bors.toml b/bors.toml new file mode 100644 index 000000000..dd19e1f5b --- /dev/null +++ b/bors.toml @@ -0,0 +1,3 @@ +status = ['tests'] +# 3 hours timeout +timeout-sec = 10800