Skip to content

Commit dd19e3f

Browse files
committed
auto-merge sync PRs from dev
1 parent 0004349 commit dd19e3f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/sync-dev-to-vX.Y-dev.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ jobs:
4242
continue
4343
fi
4444
45-
gh pr create --base $BASE --head $HEAD \
45+
PR=$(gh pr create --base $BASE --head $HEAD \
4646
--label "Housekeeping" \
4747
--title "$BASE: update from $HEAD" \
48-
--body "Merge \`$HEAD\` into \`$BASE\`."
48+
--body "Merge \`$HEAD\` into \`$BASE\`.")
49+
gh pr merge $PR --merge --admin
4950
done
5051
env:
5152
GH_TOKEN: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)