Update README #322
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update README | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Download text | |
run: | | |
wget -O new-readme.txt https://awesome.ecosyste.ms/lists/markdown | |
- name: Replace README | |
run: | | |
mv new-readme.txt README.md | |
- name: Commit and push | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "Andrew Nesbitt" | |
git add README.md | |
git commit -m "Update README from https://awesome.ecosyste.ms" | |
git push |