From 9463b82888ae22a8169d19db95f24f0fce87c829 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 26 Dec 2025 14:42:33 -0300 Subject: [PATCH] Use create-pull-request action for contributors updates Replaced commit changes step with create pull request action for automated updates. --- .github/workflows/contributors.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 14b0a822..a366e591 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -26,10 +26,15 @@ jobs: else echo "has_changes=true" >> $GITHUB_OUTPUT fi - - name: Commit changes + - name: Create Pull Request if: steps.changes.outputs.has_changes == 'true' - run: | - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - git commit -am "$COMMIT_MESSAGE" - git push + uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: 'docs(README): update contributors' + title: 'docs: Update contributors list' + body: 'Automated update of contributors list' + labels: | + automated-pr + documentation + branch: update/contributors-list