Skip to content

Commit dd760bd

Browse files
committed
Merge branch 'main' of github.com:strapi/documentation
2 parents 5095812 + 9b8228e commit dd760bd

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
@@ -80,7 +80,7 @@ jobs:
8080

8181
# Job 2: Create PR to next when a PR is labeled
8282
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"
8484
runs-on: ubuntu-latest
8585
steps:
8686
- name: Checkout repository
@@ -144,13 +144,13 @@ jobs:
144144
# Create PR to next
145145
gh pr create --base next --head $TARGET_BRANCH \
146146
--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."
148148
env:
149149
GITHUB_TOKEN: ${{ secrets.SYNC_MAIN_TO_NEXT }}
150150

151151
# Job 3: Sync changes when a labeled PR is merged to main
152152
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')
154154
runs-on: ubuntu-latest
155155
steps:
156156
- name: Checkout repository

0 commit comments

Comments
 (0)