mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Add PR number in the merge subject
This commit is contained in:
parent
56912faf9a
commit
bd6c5138eb
1 changed files with 2 additions and 2 deletions
4
.github/workflows/i18n-automerge.yml
vendored
4
.github/workflows/i18n-automerge.yml
vendored
|
@ -62,9 +62,9 @@ jobs:
|
||||||
|
|
||||||
# Better subject
|
# Better subject
|
||||||
# "i18n updates ([LOCALES_CHANGED])"
|
# "i18n updates ([LOCALES_CHANGED])"
|
||||||
SUBJECT="i18n updates ($LOCALES_CHANGED)"
|
|
||||||
|
|
||||||
PR_NUMBER=$(echo ${{ github.event.pull_request.number }})
|
PR_NUMBER=$(echo ${{ github.event.pull_request.number }})
|
||||||
|
SUBJECT="i18n updates ($LOCALES_CHANGED) (#$PR_NUMBER)"
|
||||||
|
|
||||||
gh pr merge $PR_NUMBER --squash --subject "$SUBJECT" || true
|
gh pr merge $PR_NUMBER --squash --subject "$SUBJECT" || true
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue