Skip to content

Commit 877bb58

Browse files
authored
Merge pull request #305 from arduino/sync/marqdevx/actions/sync-PR
Actions: Sync PR with labels
2 parents 5e65938 + e95d513 commit 877bb58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Sync PR
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.SYNC_GITHUB_CLI_TOKEN }}
31-
run: gh pr create --title "$(gh pr view $GITHUB_REF_NAME --json title --jq .title)" --body "$(gh pr view $GITHUB_REF_NAME --json body --jq .body)" --repo arduino/docs-content
31+
run: gh pr create --title "$(gh pr view $GITHUB_REF_NAME --json title --jq .title)" --body "$(gh pr view $GITHUB_REF_NAME --json body --jq .body)" --label "$(gh pr view $GITHUB_REF_NAME --json labels --jq .labels[].name)" --reviewer "$(gh pr view $GITHUB_REF_NAME --json reviewRequests --jq .reviewRequests[].login)" --label "arduino" --assignee "$(gh pr view $GITHUB_REF_NAME --json assignees --jq .assignees[].login)" --repo arduino/docs-content
3232

3333
- name: Close PR
3434
env:

0 commit comments

Comments
 (0)