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:
Daniel McNab 2021-07-17 18:56:56 +00:00
parent ecb78048cf
commit c9c322e820
2 changed files with 7 additions and 0 deletions

1
.github/bors.toml vendored
View file

@ -15,3 +15,4 @@ status = [
] ]
use_squash_merge = true use_squash_merge = true
block_labels = ["S-Pre-Relicense"]

View file

@ -1,2 +1,8 @@
# Config for the label workflow
# Schema: https://github.com/actions/labeler#create-githublabeleryml
S-Needs-Triage: S-Needs-Triage:
- "**" - "**"
S-Pre-Relicense:
- "**"