Skip to content

Download And Commit OneSky Translations #1185

Download And Commit OneSky Translations

Download And Commit OneSky Translations #1185

name: Download And Commit OneSky Translations
on:
schedule:
- cron: "0 23 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
id-token: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
download_and_commit_onesky_translations:
runs-on: macos-15
env:
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_IAM_ONESKY_ROLE_ARN }}
aws-region: us-east-1
- name: Import OneSky Keys
uses: dkershner6/aws-ssm-getparameters-action@v2
with:
parameterPairs: |
/shared/onesky/PUBLIC_KEY = ONESKY_PUBLIC_KEY,
/shared/onesky/SECRET_KEY = ONESKY_SECRET_KEY
- name: Download And Commit Latest OneSky Localizations
run: bundle exec fastlane cru_shared_lane_download_and_commit_latest_one_sky_localizations
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: 'latest-onesky-translations'
token: ${{ secrets.CREATE_PULL_REQUEST_ACCESS_TOKEN }}
title: 'Latest OneSky Translations'
add-paths: godtools/*