mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 17:20:16 +02:00
31 lines
797 B
YAML
31 lines
797 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: ${{ 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"
|