Auto readme updater (#1418)

* Auto readme updater

* Update .github/workflows/update_readme.yml

Co-authored-by: Gabe <66077254+MrBrain295@users.noreply.github.com>
This commit is contained in:
gnuhead-chieb
2022-11-27 02:51:57 +09:00
committed by GitHub
parent 179123ff58
commit ab9cd6e9a6
2 changed files with 20 additions and 3 deletions

20
.github/workflows/update_readme.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Update Readme
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Update Readme
run: python update_list.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Readme

View File

@@ -28,6 +28,3 @@ If a file name contains a special character that Windows is not able to display,
The code in the file should be the simplest and most straightforward way to print/display/show `Hello World` exactly once in the language used. User input should not be requested and a newline should only be printed when necessary.
### Updating readme
After adding the language file, run `update_list.py` with Python 3.6+ to automatically update the language list. If you don't have a local clone, you will need to increment the language count and alphabetically list the language yourself.