Skip to content

Instantly share code, notes, and snippets.

@GMetaxakis
Last active April 6, 2021 18:41
Show Gist options
  • Save GMetaxakis/281cbb392d85935a7752d74f7d35dc1a to your computer and use it in GitHub Desktop.
Save GMetaxakis/281cbb392d85935a7752d74f7d35dc1a to your computer and use it in GitHub Desktop.
Phrase Pull
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