You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/sync-content-to-next.yml
+3-3
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ jobs:
80
80
81
81
# Job 2: Create PR to next when a PR is labeled
82
82
create-pr-for-labeled:
83
-
if: github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'temp: port to docs-next'
83
+
if: github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == "temp - port to docs-next"
84
84
runs-on: ubuntu-latest
85
85
steps:
86
86
- name: Checkout repository
@@ -144,13 +144,13 @@ jobs:
144
144
# Create PR to next
145
145
gh pr create --base next --head $TARGET_BRANCH \
146
146
--title "[Port to next] $PR_TITLE" \
147
-
--body "Automatic port of PR #${{ github.event.pull_request.number }} to next branch.\n\nOriginal PR: #${{ github.event.pull_request.number }}\nCreated automatically after adding the 'temp: port to docs-next' label."
147
+
--body "Automatic port of PR #${{ github.event.pull_request.number }} to next branch.\n\nOriginal PR: #${{ github.event.pull_request.number }}\nCreated automatically after adding the 'temp - port to docs-next' label."
148
148
env:
149
149
GITHUB_TOKEN: ${{ secrets.SYNC_MAIN_TO_NEXT }}
150
150
151
151
# Job 3: Sync changes when a labeled PR is merged to main
152
152
sync-merged-pr:
153
-
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'temp: port to docs-next')
153
+
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'temp - port to docs-next')
0 commit comments