Compare commits
3 Commits
fix-linter
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e9a6e0406 | ||
|
|
bdd5b547ac | ||
|
|
cbf352bf4b |
|
|
@ -1,20 +1,28 @@
|
|||
name: Update README
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '_README.md'
|
||||
|
||||
jobs:
|
||||
update-readme:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Generate README.md
|
||||
run: |
|
||||
python3 generate_readme.py _README.md > README.md
|
||||
|
||||
- name: Lint README.md
|
||||
run: npx awesome-lint README.md
|
||||
|
||||
- name: Commit changes
|
||||
if: success() # Only commit if linting passes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: 'Auto-update README.md [skip ci]'
|
||||
|
|
|
|||
Loading…
Reference in New Issue