Skip to content

Commit d644c9d

Browse files
committed
Add all changed files in update-contributors
1 parent 6d591fa commit d644c9d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/update-contributors.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
npm run update-contributors
3636
npx prettier --write README.md
37-
if git diff --quiet README.md; then echo "changes=false" >> $GITHUB_OUTPUT; else echo "changes=true" >> $GITHUB_OUTPUT; fi
37+
if git diff --quiet; then echo "changes=false" >> $GITHUB_OUTPUT; else echo "changes=true" >> $GITHUB_OUTPUT; fi
3838
id: check-changes
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -44,15 +44,13 @@ jobs:
4444
uses: peter-evans/create-pull-request@v5
4545
with:
4646
token: ${{ secrets.GITHUB_TOKEN }}
47-
add-paths: |
48-
README.md
4947
commit-message: "docs: update contributors list [skip ci]"
5048
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
5149
branch: update-contributors
5250
delete-branch: true
5351
title: "Update contributors list"
5452
body: |
55-
Automated update of contributors list in README.md
53+
Automated update of contributors list and related files
5654
57-
This PR was created automatically by a GitHub Action workflow.
55+
This PR was created automatically by a GitHub Action workflow and includes all changed files.
5856
base: main

0 commit comments

Comments
 (0)