respect-validation/.github/workflows/update-language-codes.yaml
dependabot[bot] 7776652c85
Bump actions/checkout from 2 to 3 (#1399)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 04:05:27 +00:00

32 lines
818 B
YAML

name: Update language codes
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
update-language-codes:
name: Update language codes
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ secrets.LAST_MINOR_VERSION }}
- name: Execute script
run: bin/update-language-codes
- name: Create pull request
uses: peter-evans/create-pull-request@v4
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"