this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Maybe better merge subject

And hopefully don't delete branch

+9 -1
+9 -1
.github/workflows/i18n-automerge.yml
··· 56 56 exit 0 57 57 else 58 58 echo "More than 50 lines have been changed. Merging pull request." 59 + 60 + # List of locales changed 61 + LOCALES_CHANGED=$(git diff --name-only $BASE_SHA $HEAD_SHA | grep '\.po$' | awk -F '/' '{print $NF}' | sed 's/\.po$//' | tr '\n' ',' | sed 's/,$//') 62 + 63 + # Better subject 64 + # "i18n updates ([LOCALES_CHANGED])" 65 + SUBJECT="i18n updates ($LOCALES_CHANGED)" 66 + 59 67 PR_NUMBER=$(echo ${{ github.event.pull_request.number }}) 60 - gh pr merge $PR_NUMBER --auto --squash || true 68 + gh pr merge $PR_NUMBER --squash --subject "$SUBJECT" || true 61 69 fi 62 70 env: 63 71 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}