mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-05-09 07:25:01 -04:00
fix: update PR handling to ignore dependabot in addition to maintainer
This commit is contained in:
6
.github/workflows/adventurelog-bot.yml
vendored
6
.github/workflows/adventurelog-bot.yml
vendored
@@ -61,9 +61,9 @@ jobs:
|
||||
await safeClosePr();
|
||||
}
|
||||
|
||||
// Ignore specific user
|
||||
if (context.actor === "seanmorley15") {
|
||||
console.log("Skipping maintainer PR");
|
||||
// Ignore PRs created by the maintainer to avoid blocking their work, as well as dependabot
|
||||
if (context.actor === "seanmorley15" || context.actor === "dependabot") {
|
||||
console.log("Skipping maintainer or dependabot PR");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user