From d9ffda56edb9ac04823683cd9359641f2b1e6652 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Thu, 13 Mar 2025 23:24:48 -0400 Subject: [PATCH] Open a PR to update contributors --- .github/workflows/update-contributors.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.yml index a83a804807..91dc5ba861 100644 --- a/.github/workflows/update-contributors.yml +++ b/.github/workflows/update-contributors.yml @@ -38,11 +38,18 @@ jobs: echo "No changes to README.md" fi - - name: Commit and push changes + - name: Create Pull Request if: steps.check-changes.outputs.changes == 'true' - run: | - git config --global user.name 'github-actions[bot]' - git config --global user.email 'github-actions[bot]@users.noreply.github.com' - git add README.md - git commit -m "docs: update contributors list [skip ci]" - git push \ No newline at end of file + uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "docs: update contributors list" + title: "Update contributors list" + body: | + Automated update of contributors list in README.md + + This PR was created automatically by a GitHub Action workflow. + branch: update-contributors + branch-suffix: timestamp + delete-branch: true + base: main \ No newline at end of file