chore(*): fix improper @pull[bot] config (#9710)

Signed-off-by: Rongrong <i@rong.moe>
This commit is contained in:
Rongrong
2022-05-06 09:35:19 +08:00
committed by GitHub
parent 4b3cb4a130
commit 4432bb0f19
2 changed files with 8 additions and 1 deletions

7
.github/pull.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
version: '1'
rules:
- base: master
upstream: diygod:master
# default value if this file does not exist is `hardreset`, effectively overwriting any downstream changes!
# previously it was the misconfigured PR route test workflow that rescued downstream changes from being overwritten
mergeMethod: merge

View File

@@ -1,5 +1,5 @@
const noFound = 'Auto: Route No Found';
const whiteListedUser = ['dependabot[bot]'];
const whiteListedUser = ['dependabot[bot]', 'pull[bot]']; // dependabot and downstream PR requested by pull[bot]
module.exports = async ({ github, context, core }, body, number, sender) => {
core.debug(`sender: ${sender}`);