chore(project): integrate bors

This commit is contained in:
Orhun Parmaksız 2022-02-28 17:49:00 +03:00
parent 919e399cdf
commit 56135e1033
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
3 changed files with 19 additions and 4 deletions

View file

@ -12,4 +12,5 @@
Dockerfile Dockerfile
LICENSE* LICENSE*
rustfmt.toml rustfmt.toml
deny.toml deny.toml
bors.toml

View file

@ -1,12 +1,12 @@
name: Continuous Integration name: Continuous Integration
on: on:
pull_request:
push: push:
branches: branches:
- main - main
pull_request: - staging # for bors
branches: - trying # for bors
- main
schedule: schedule:
- cron: "0 0 * * 0" - cron: "0 0 * * 0"

14
bors.toml Normal file
View file

@ -0,0 +1,14 @@
status = [
"Build %",
"Test",
"Lint",
"Audit"
]
required_approvals = 1
up_to_date_approvals = true
delete_merged_branches = true
update_base_for_deletes = true
use_codeowners = true
use_squash_merge = true
commit_title = "Merge ${PR_REFS}"
timeout_sec = 36000