From 745409c2bac21c445a1b044f295a7caeece52b20 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Sat, 10 Feb 2024 18:03:01 -0500 Subject: [PATCH] [ci] Get Update Contributors Action Working Signed-off-by: Schuyler Eldridge --- .github/workflows/update-contributors.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.yml index 4acc1011..b4b8cc4b 100644 --- a/.github/workflows/update-contributors.yml +++ b/.github/workflows/update-contributors.yml @@ -2,12 +2,16 @@ name: "Update Contributors" on: workflow_dispatch: + push: + branches: + - main jobs: update-contributors: runs-on: ubuntu-22.04 permissions: contents: write + pull-requests: write steps: - name: "Checkout chipsalliance/firrtl-spec" uses: actions/checkout@v3 @@ -18,12 +22,17 @@ jobs: - name: "Open PR If New Contributors" uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} branch: ci/update-contributors - author: chiselbot <${{ chiselbot@users.noreply.github.com }}> - committer: chiselbot <${{ chiselbot@users.noreply.github.com }}> + author: chiselbot + committer: chiselbot reviewers: | seldridge title: Update Contributors - body-path: Add missing contributors - commit-message: Add missing contributors + body: | + Add missing contributors. + + This is an automated PR generated by [this GitHub Action](https://github.com/chipsalliance/firrtl-spec/actions/workflows/update-contributors.yml). + commit-message: | + Add missing contributors. + + This is an automated commit.