Files
hello-world/.github/workflows/update_readme.yml
gnuhead-chieb aeb09c6ced Add ABS, Cadence, Cone, daScript, dg, oK, Pikelet!, TopShell, Asteria, Tabloid, One, Qi, Retina, Charly, Dictu, Millfork, Minecraft Script, Mokkosu, Morloc, WurstScript, うんちく, Mind, Sawa, Xtal (#1434)
* Add ABS, Cadence, Cone, daScript, dg, oK, Pikelet!, TopShell
.

* Fix author name of workflow

* Add Asteria and Tabloid

* Add Asteria and Tabloid

* Add One and Qi

* Add Retina

* Add Charly, Dictu, Millfork, Minecraft Script, Mokkosu, Morloc, WurstScript

* Add うんちく and Mind

* Add Sawa

* Update Mokkosu.mok

* Update Asteria

* Add Xtal

Co-authored-by: gnuhead-chieb <gnuhead-chieb@users.noreply.github.com>
2022-12-27 11:09:08 -06:00

37 lines
1.1 KiB
YAML

name: Update Readme
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Update Readme
run: python update_list.py
- id: last-commit-message
run: echo "msg=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
- id: get-author-name
run: echo "msg=$(git log -1 --pretty=%an)" >> $GITHUB_OUTPUT
- id: get-author-email
run: echo "msg=$(git log -1 --pretty=%aE)" >> $GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: ${{ steps.get-author-name.outputs.msg }}
commit_user_email: ${{ steps.get-author-email.outputs.msg }}
commit_author: ${{ steps.get-author-name.outputs.msg }} <${{ steps.get-author-email.outputs.msg }}>
commit_message: ${{ steps.last-commit-message.outputs.msg }}
commit_options: '--amend --no-edit'
push_options: '--force'
skip_fetch: true