Update Manager.ts #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Contributors | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [closed] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14' | |
- run: npm install -g all-contributors-cli | |
- run: npx all-contributors check | |
- run: npx all-contributors generate | |
- name: Commit files | |
run: | | |
git config --local user.name "github-actions[bot]" | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
git add . | |
git commit -m "docs: update contributors [skip ci]" | |
- name: Push changes | |
run: git push |