This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version = 1 | ||
|
||
exclude_patterns = [ | ||
".github/**", | ||
] | ||
|
||
test_patterns = [ | ||
"tests/**", | ||
"test_*.py" | ||
] | ||
|
||
[[analyzers]] | ||
name = "test-coverage" | ||
enabled = true | ||
|
||
[[analyzers]] | ||
name = "docker" | ||
enabled = true | ||
|
||
[[analyzers]] | ||
name = "python" | ||
enabled = true | ||
|
||
[analyzers.meta] | ||
runtime_version = "3.x.x" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
pull_request_rules: | ||
|
||
- name: warn on conflicts | ||
conditions: | ||
- conflict | ||
- -draft # filter-out GH draft PRs | ||
- -label="has conflicts" | ||
actions: | ||
# comment: | ||
# message: This pull request is now in conflict... :( | ||
label: | ||
add: [ "has conflicts" ] | ||
|
||
- name: resolved conflicts | ||
conditions: | ||
- -conflict | ||
- label="has conflicts" | ||
- -draft # filter-out GH draft PRs | ||
- -merged # not merged yet | ||
- -closed | ||
actions: | ||
label: | ||
remove: [ "has conflicts" ] | ||
|
||
- name: update PR | ||
conditions: | ||
- -conflict | ||
- -draft # filter-out GH draft PRs | ||
- base=master # apply only on master | ||
- -title~=(?i)wip # skip all PR that title contains “WIP” (ignoring case) | ||
- "#approved-reviews-by>=1" # number of review approvals | ||
actions: | ||
update: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ include *.txt | |
|
||
# Exclude build configs | ||
exclude *.yml *.yaml | ||
exclude *.toml | ||
|
||
prune .git | ||
prune .github | ||
|