Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add labels to automated pull requests #88

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/update-translations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,12 @@ jobs:
echo "Existing Pull Request updated"
echo "Please merge the Pull Request"
else
gh pr create \
--base main \
--head update-translation-files \
--title "Update Translation Files" \
--body "Updates the API and editor translations with the latest changes."
gh pr create \
--base main \
--head update-translation-files \
--title "Update Translation Files" \
--body "Updates the API and editor translation files with the latest changes." \
--label "PR Type: Maintenance"
echo "New Pull Request created"
fi

Expand Down Expand Up @@ -176,7 +177,8 @@ jobs:
--base main \
--head weblate \
--title "Update Translations" \
--body "New translations from Weblate."
--body "New translations from Weblate." \
--label "PR Type: Enhancement"
echo "New Pull Request created"
fi