mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-04 02:58:08 +08:00
chore(*): fix improper @pull[bot] config (#9710)
Signed-off-by: Rongrong <i@rong.moe>
This commit is contained in:
7
.github/pull.yml
vendored
Normal file
7
.github/pull.yml
vendored
Normal 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
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
const noFound = 'Auto: Route No Found';
|
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) => {
|
module.exports = async ({ github, context, core }, body, number, sender) => {
|
||||||
core.debug(`sender: ${sender}`);
|
core.debug(`sender: ${sender}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user