Last active
April 6, 2021 18:41
-
-
Save GMetaxakis/281cbb392d85935a7752d74f7d35dc1a to your computer and use it in GitHub Desktop.
Phrase Pull
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: "pull" | |
on: | |
schedule: | |
- cron: "0 10 * * 4" | |
jobs: | |
pull: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: develop | |
- name: get phrase cli | |
run: | | |
echo "Downloading phrase from "... | |
- name: use phrase cli to pull | |
run: | | |
./phrase pull | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
base: develop | |
branch: localization/pull | |
branch-suffix: timestamp | |
commit-message: Update translations | |
title: 'Update translations' | |
body: | | |
Update translations | |
- Pulled new translations from phrase | |
draft: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment