Skip to content

Commit 7286206

Browse files
authored
BCR: allow users to skip the url stability check themselves
writing `@bazel-io unstable_ack` as a comment automatically applies the `skip-url-stability-check` label.
1 parent 8db2c23 commit 7286206

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

actions/release-helper/index.js

+7
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ async function run() {
8181
issue_number: payload.issue.number,
8282
labels: [FLAGGED_LABEL],
8383
});
84+
} else if (command === "unstable_ack" || command.startsWith("unstable_ack ")) {
85+
await octokit.rest.issues.addLabels({
86+
owner,
87+
repo,
88+
issue_number: payload.issue.number,
89+
labels: ["skip-url-stability-check"],
90+
});
8491
} else {
8592
await octokit.rest.reactions.createForIssueComment({
8693
owner,

0 commit comments

Comments
 (0)