Skip to content

Commit c0408a5

Browse files
authored
Update sync-content-to-next.yml
1 parent 54f6296 commit c0408a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sync-content-to-next.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145

146146
# Job 2: Create PR to next when a PR is labeled
147147
create-pr-for-labeled:
148-
if: github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'port-to-docs-next'
148+
if: github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == "temp - port to docs-next"
149149
needs: debug-event
150150
runs-on: ubuntu-latest
151151
steps:
@@ -244,13 +244,13 @@ jobs:
244244
echo "Creating PR from $TARGET_BRANCH to next..."
245245
gh pr create --base next --head $TARGET_BRANCH \
246246
--title "[Port to next] $PR_TITLE" \
247-
--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 'port-to-docs-next' label."
247+
--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."
248248
env:
249249
GITHUB_TOKEN: ${{ secrets.SYNC_MAIN_TO_NEXT }}
250250

251251
# Job 3: Sync changes when a labeled PR is merged to main
252252
sync-merged-pr:
253-
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'port-to-docs-next')
253+
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")
254254
needs: debug-event
255255
runs-on: ubuntu-latest
256256
steps:

0 commit comments

Comments
 (0)