Skip to content

Commit 52ef40d

Browse files
Merge pull request #4433 from Shopify/rd/fix-comment
also comment on base branch change
2 parents af27e8b + 71d0282 commit 52ef40d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/rc-port-tracker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
(github.event.action == 'edited' && github.event.changes.base != null)
2222
) &&
2323
!endsWith(github.event.pull_request.base.ref, '-rc') &&
24-
!startsWith(github.head_ref, 'changeset-release/')
24+
!startsWith(github.head_ref, 'changeset-release/') &&
25+
!contains(github.event.pull_request.labels.*.name, 'needs-rc-port')
2526
runs-on: ubuntu-latest
2627
timeout-minutes: 2
2728
steps:
@@ -48,8 +49,6 @@ jobs:
4849
owner, repo, issue_number: pr.number, labels: [LABEL],
4950
});
5051
51-
if (context.payload.action !== 'opened') return;
52-
5352
const rcBranches = branchNames
5453
.filter(n => /^\d{4}-(?:01|04|07|10)-rc$/.test(n))
5554
.sort();

0 commit comments

Comments
 (0)