|
|
@ -23,3 +23,11 @@ jobs:
|
|
|
|
- name: Update CONTRIBUTORS.md
|
|
|
|
- name: Update CONTRIBUTORS.md
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
node .github/scripts/update-contributors.js
|
|
|
|
node .github/scripts/update-contributors.js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Commit and push if it's not up to date
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
git diff
|
|
|
|
|
|
|
|
git config --global user.email "actions@github.com"
|
|
|
|
|
|
|
|
git config --global user.name "GitHub Actions"
|
|
|
|
|
|
|
|
git commit -am "Update CONTRIBUTORS.md" || exit 0
|
|
|
|
|
|
|
|
git push
|
|
|
|