Merge pull request #1634 from RooVetGit/contributors_use_create_pull_request_more

Use create pull request action more
This commit is contained in:
Matt Rubens 2025-03-13 23:53:05 -04:00 committed by GitHub
commit afb8b05553
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,25 +32,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Stage changes
if: steps.check-changes.outputs.changes == 'true'
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add README.md
git commit -m "docs: update contributors list [skip ci]"
- name: Create Pull Request
if: steps.check-changes.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: |
README.md
commit-message: "docs: update contributors list [skip ci]"
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
branch: update-contributors
branch-suffix: timestamp
delete-branch: true
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