Skip to content

Commit

Permalink
Merge pull request #125 from GabsEdits/feat/#123
Browse files Browse the repository at this point in the history
feat:[#123] Rethinking the Contributors List
  • Loading branch information
mirkobrombin authored Nov 19, 2023
2 parents 3e70102 + 7093ce0 commit 70ad319
Showing 7 changed files with 1,367 additions and 406 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Update Contributors

on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

env:
token: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: write


jobs:
update-contributors:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: latest

- name: Install dependencies
run: npm install


- name: Run script
run: npm run start

- name: Commit and push if it changed
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "chore: Update Contributors List"
git push
Loading

0 comments on commit 70ad319

Please sign in to comment.