File tree Expand file tree Collapse file tree 2 files changed +33
-35
lines changed Expand file tree Collapse file tree 2 files changed +33
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Update README
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *'
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ update-readme :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Download new README
20
+ run : |
21
+ wget -O new-readme.md http://code.gouv.fr/data/awesome-codegouvfr.md
22
+
23
+ - name : Replace README
24
+ run : |
25
+ mv new-readme.md README.md
26
+
27
+ - name : Commit and push
28
+ run : |
29
+ git config --local user.email "[email protected] "
30
+ git config --local user.name "Bastien Guerry"
31
+ git add README.md
32
+ git commit -m "Update README from http://code.gouv.fr/data/awesome-codegouvfr.md"
33
+ git push
You can’t perform that action at this time.
0 commit comments