We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d711c36 commit 1cd4b34Copy full SHA for 1cd4b34
.github/workflows/phrase-translations-pr.yml
@@ -0,0 +1,31 @@
1
+name: Phrase Translations
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'phrase-translations'
7
8
+jobs:
9
+ create-pr:
10
+ if: github.event_name == 'push'
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
+ with:
16
+ ref: master
17
+ fetch-depth: 0
18
19
+ - name: Reset master branch
20
+ run: |
21
+ git fetch origin phrase-translations:phrase-translations
22
+ git reset --hard phrase-translations
23
24
+ - name: Create Pull Request
25
+ uses: peter-evans/create-pull-request@v5
26
27
+ title: 'New Phrase Updates'
28
+ body: 'Update phrase translations'
29
+ branch: 'phrase-translations'
30
+ commit-message: 'Update phrase translations'
31
+ delete-branch: true
0 commit comments