Skip to content

Commit 29d3f38

Browse files
committed
Don't comment on PRs that start with changeset-release rather than ones that are equal to changeset-release because the branch names will be changeset-release/base-branch-name soon
1 parent 9858adf commit 29d3f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = app => {
6464
});
6565

6666
app.on(["pull_request.opened", "pull_request.synchronize"], async context => {
67-
if (context.payload.pull_request.head.ref === 'changeset-release') {
67+
if (context.payload.pull_request.head.ref.startsWith("changeset-release")) {
6868
return;
6969
}
7070

0 commit comments

Comments
 (0)