Last active
May 5, 2025 09:18
-
-
Save u12206050/de300b42c212a3b6800088374b029e45 to your computer and use it in GitHub Desktop.
Create Phrase Translations PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Phrase Translations | |
on: | |
push: | |
branches: | |
- 'phrase-translations' | |
jobs: | |
create-pr: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: master | |
fetch-depth: 0 | |
- name: Reset master branch | |
run: | | |
git fetch origin phrase-translations:phrase-translations | |
git reset --hard phrase-translations | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: 'New Phrase Updates' | |
body: 'Update phrase translations' | |
branch: 'phrase-translations' | |
commit-message: 'Update phrase translations' | |
delete-branch: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment