Skip to content

Commit 278003e

Browse files
authored
Merge branch 'main' into sql-aa
2 parents 0a59c99 + 1dbd0d7 commit 278003e

File tree

6 files changed

+828
-15
lines changed

6 files changed

+828
-15
lines changed

.github/workflows/autolabel-pr-issue.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sync Issue Metadata to PR
22

33
on:
44
pull_request_target:
5-
types: [opened, edited, synchronize, reopened]
5+
types: [opened, synchronize, reopened]
66

77
permissions:
88
pull-requests: write
@@ -12,19 +12,13 @@ permissions:
1212

1313
jobs:
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
@@ -53,7 +47,7 @@ jobs:
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

0 commit comments

Comments
 (0)