GoLF Automated checkin by Handback (10/19/2023 10:26:31 AM) #7
This file contains 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: GoLF Integration - Sync Translations Received from GoLF | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- translation | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1 | |
with: | |
fetch-depth: 0 | |
- name: Checkout action-golf-integration repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1 | |
with: | |
repository: gdcorp-partners/action-golf-integration | |
ref: 'main' | |
token: ${{ secrets.MWC_GD_ACTIONS_REPO_PAT }} | |
path: action-golf-integration | |
persist-credentials: false | |
- name: Branch syncing | |
id: branch_syncing | |
uses: ./action-golf-integration/src/translation-updates/received | |
with: | |
gh_token: ${{ secrets.MWC_GD_ACTIONS_REPO_PAT }} | |
main_branch: master | |
translation_paths: woocommerce/i18n/languages | |
translation_branch: translation |