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.