respect-validation/.github/workflows/update-language-codes.yaml
Henrique Moody 83b515d0a3
Configure GitHub workflow to update language codes
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-05-26 18:33:23 +02:00

31 lines
741 B
YAML

name: Update language codes
on:
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: "2.0"
- 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: "2.0"
branch: "workflows/update-language-codes"