File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Attributions Weekly
2
+
3
+ on :
4
+ schedule :
5
+ # https://crontab.guru/#0_6_*_*_*
6
+ - cron : ' 0 6 * * *'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-node@v1
15
+ with :
16
+ node-version : 12
17
+ registry-url : https://registry.npmjs.org/
18
+
19
+ # Updates the attribution.json file in git
20
+ - uses : OSS-Docs-Tools/create-attribution-json@master
21
+ with :
22
+ glob : " docs/documentation/*.md"
23
+
24
+ - name : Configure git and update attribution.json
25
+ run : |
26
+ git config user.email "[email protected] "
27
+ git config user.name "GitHub Bot"
28
+ git add -f attribution.json
29
+ if git commit -m "Update attribution.json"; then
30
+ git push
31
+ fi
You can’t perform that action at this time.
0 commit comments