Skip to content

Commit

Permalink
chore: iterating on contributors generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed May 4, 2021
1 parent 1c1b572 commit 2523f99
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/generate-contributors.yml
@@ -1,8 +1,7 @@
name: "Generate contributors"

on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:

env:
PRIMARY_NODE_VERSION: 12
Expand Down Expand Up @@ -37,13 +36,10 @@ jobs:
- name: Generate contributors
run: yarn generate:contributors

- name: Commit files
run: |
git config --local user.email "actions@github.com"
git config --local user.name "Github Actions"
git commit -am "chore: update contributors [bot]"
- name: Push changes
uses: ad-m/github-push-action@master
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update contributors"
title: "chore: update contributors"
branch: auto-update-contributors

0 comments on commit 2523f99

Please sign in to comment.