Skip to content

Commit 139c3e5

Browse files
authored
Merge pull request #4775 from ralfhandl/main-auto-merge-dev-sync-prs
auto-merge sync PRs from dev
2 parents e4d17f8 + dd19e3f commit 139c3e5

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)