mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
ci: enforce commit convention (#1203)
This commit is contained in:
@@ -68,7 +68,7 @@ jobs:
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git switch -c "$SOURCE_BRANCH"
|
||||
git add fluxer_app/src/features/i18n/locales fluxer_marketing/locales packages/errors/src/i18n fluxer_api/pkgs/email/src/email_i18n fluxer_api/src/api/content_i18n
|
||||
git commit -m "i18n: refresh source catalogs"
|
||||
git commit -m "chore(i18n): refresh source catalogs"
|
||||
git fetch origin "$SOURCE_BRANCH" || true
|
||||
git push --force-with-lease="refs/heads/$SOURCE_BRANCH" origin "HEAD:$SOURCE_BRANCH"
|
||||
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
BODY
|
||||
)"
|
||||
if [[ -z "$pr_number" ]]; then
|
||||
gh pr create --base main --head "$SOURCE_BRANCH" --title "i18n: refresh source catalogs" --body "$body"
|
||||
gh pr create --base main --head "$SOURCE_BRANCH" --title "chore(i18n): refresh source catalogs" --body "$body"
|
||||
else
|
||||
gh pr edit "$pr_number" --title "i18n: refresh source catalogs" --body "$body"
|
||||
gh pr edit "$pr_number" --title "chore(i18n): refresh source catalogs" --body "$body"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user