File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Sync Issue Metadata to PR
22
33on :
44 pull_request_target :
5- types : [opened, edited, synchronize, reopened]
5+ types : [opened, synchronize, reopened]
66
77permissions :
88 pull-requests : write
@@ -12,19 +12,13 @@ permissions:
1212
1313jobs :
1414 sync-pr-metadata :
15- if : |
16- github.event.action != 'edited' ||
17- (
18- github.event.changes.body &&
19- (github.event.changes.body.from || '') != (github.event.pull_request.body || '')
20- )
2115 runs-on : ubuntu-latest
2216 steps :
23- # Step 1: Checkout repository
17+ # Checkout repository
2418 - name : Checkout
2519 uses : actions/checkout@v4
2620
27- # Step 2: Extract linked issues from PR
21+ # Extract linked issues from PR
2822 - name : Extract linked issue(s) from PR
2923 id : extract-issues
3024 uses : actions/github-script@v7
5347 core.setOutput('issues', JSON.stringify(Array.from(issueNumbers)));
5448 core.setOutput('pr', prNumber.toString());
5549
56- # Step 3: Sync issue metadata to PR safely
50+ # Sync issue metadata to PR safely
5751 - name : Sync Issue Metadata to PR
5852 if : steps.extract-issues.outputs.issues != '' && steps.extract-issues.outputs.issues != '[]'
5953 uses : actions/github-script@v7
You can’t perform that action at this time.
0 commit comments