Skip to content

Update Language Source #66628

Update Language Source

Update Language Source #66628

Workflow file for this run

name: Update Language Source
on:
schedule:
- cron: '*/5 * * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: Update Language JSON
shell: pwsh
run: iwr ${{ secrets.CORE_LANG_URL }} | % { if ($_.StatusCode -eq 200) { $_.Content > ./.github/en.json } }
- name: Add & Commit
uses: EndBug/add-and-commit@v7.2.1
with:
add: ".github/en.json"
branch: main