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:
20
.github/workflows/update_readme.yml
vendored
Normal file
20
.github/workflows/update_readme.yml
vendored
Normal 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
|
||||||
@@ -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.
|
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.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user