mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Relicense bors checks (#2493)
# Objective Currently we can sometimes allow PRs by people who haven't agreed to the relicense to get merged into main. E.g. https://github.com/bevyengine/bevy/pull/2445 ## Solution This adds a check to ensure that this doesn't happen, by ensuring that bors doesn't relicense said PRs. As a bonus, it also adds config to automatically label new PRs as needing checking, to ensure that we do the verification until we merge the new license.
This commit is contained in:
parent
ecb78048cf
commit
c9c322e820
2 changed files with 7 additions and 0 deletions
1
.github/bors.toml
vendored
1
.github/bors.toml
vendored
|
@ -15,3 +15,4 @@ status = [
|
|||
]
|
||||
|
||||
use_squash_merge = true
|
||||
block_labels = ["S-Pre-Relicense"]
|
||||
|
|
6
.github/label-config.yml
vendored
6
.github/label-config.yml
vendored
|
@ -1,2 +1,8 @@
|
|||
# Config for the label workflow
|
||||
# Schema: https://github.com/actions/labeler#create-githublabeleryml
|
||||
|
||||
S-Needs-Triage:
|
||||
- "**"
|
||||
|
||||
S-Pre-Relicense:
|
||||
- "**"
|
||||
|
|
Loading…
Reference in a new issue