You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Update contributors
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master # or the default branch of your repository
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update_contributors:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install Node.js
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: "14"
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: npm install axios
|
|
|
|
|
|
|
|
- name: Update CONTRIBUTORS.md
|
|
|
|
run: |
|
|
|
|
node .github/scripts/update-contributors.js
|