Skip to content

Commit b91735c

Browse files
committed
chore: reverted multi events
1 parent bf10e6c commit b91735c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/scripts/label_missing_related_issue.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ module.exports = async ({ github, context, core }) => {
1414
return core.notice("Author in IGNORE_AUTHORS list; skipping...");
1515
}
1616

17-
if (
18-
["opened", "edited", "ready_for_review", "reopened"].includes(PR_ACTION)
19-
) {
17+
if (["opened"].includes(PR_ACTION)) {
2018
return core.notice(
21-
"Only newly opened or updated PRs are labelled to avoid spam; skipping"
19+
"Only newly opened PRs are labelled to avoid spam; skipping"
2220
);
2321
}
2422

.github/scripts/label_related_issue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const {
66
LABEL_PENDING_RELEASE,
77
HANDLE_MAINTAINERS_TEAM,
88
PR_IS_MERGED,
9+
RELATED_ISSUE_REGEX,
910
} = require("./constants");
1011

1112
module.exports = async ({ github, context, core }) => {
@@ -18,7 +19,6 @@ module.exports = async ({ github, context, core }) => {
1819
}
1920

2021
const isMatch = RELATED_ISSUE_REGEX.exec(PR_BODY);
21-
2222
try {
2323
if (!isMatch) {
2424
core.setFailed(

0 commit comments

Comments
 (0)