2021-03-19 14:59:28 +01:00
|
|
|
name: Update language codes
|
|
|
|
|
|
|
|
on:
|
2023-02-15 04:29:10 +01:00
|
|
|
workflow_dispatch:
|
2021-03-19 14:59:28 +01:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-language-codes:
|
|
|
|
name: Update language codes
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
ref: ${{ secrets.LAST_MINOR_VERSION }}
|
|
|
|
|
|
|
|
- name: Execute script
|
|
|
|
run: bin/update-language-codes
|
|
|
|
|
|
|
|
- name: Create pull request
|
|
|
|
uses: peter-evans/create-pull-request@v2
|
|
|
|
with:
|
|
|
|
committer: The Respect Panda <therespectpanda@gmail.com>
|
|
|
|
author: The Respect Panda <therespectpanda@gmail.com>
|
|
|
|
commit-message: Update list of language codes
|
|
|
|
title: Update list of language codes
|
|
|
|
base: ${{ secrets.LAST_MINOR_VERSION }}
|
|
|
|
branch: "workflows/update-language-codes"
|