Skip to content

Commit 8ee992c

Browse files
committed
fix(ci): use manual git commit in update-sponsors
Replace add-and-commit action with manual git commands. Use --no-verify since files are already formatted.
1 parent f68d6fa commit 8ee992c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/update-sponsors.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ jobs:
7777
7878
- name: Commit
7979
if: steps.sponsors-after.outputs.changed == 'true'
80-
uses: EndBug/add-and-commit@v9
81-
with:
82-
message: 'chore: update sponsors'
83-
add: 'packages/docs/.vitepress/theme/components/sponsors.json README.md'
80+
run: |
81+
git config user.name "github-actions[bot]"
82+
git config user.email "github-actions[bot]@users.noreply.github.com"
83+
git add packages/docs/.vitepress/theme/components/sponsors.json README.md
84+
git commit -m "chore: update sponsors" --no-verify
85+
git push

0 commit comments

Comments
 (0)