We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec63b5 commit caafaaeCopy full SHA for caafaae
.github/workflows/weekly-contributions.yml
@@ -0,0 +1,31 @@
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
22
+ glob: "docs/documentation/*.md"
23
24
+ - name: Configure git and update attribution.json
25
+ run: |
26
+ git config user.email "bot@github.com"
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
0 commit comments