Skip to content

Update README

Update README #18

Workflow file for this run

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 new README
run: |
wget -O new-readme.md http://code.gouv.fr/data/awesome-codegouvfr.md
- name: Replace README
run: |
mv new-readme.md README.md
- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "Bastien Guerry"
git add README.md
git diff --quiet || (git commit -m "Update README from http://code.gouv.fr/data/awesome-codegouvfr.md")
git push -f origin main