Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 03dd6ba

Browse files
committed
chore: Switch to autocommit action
1 parent e3ae641 commit 03dd6ba

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/update-dist.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ jobs:
1919
- name: Check for modified files
2020
id: git-check
2121
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
22-
- name: Push changes
23-
if: steps.git-check.outputs.modified == 'true'
24-
run: |
25-
git config --global user.name 'Google Workspace Bot'
26-
git config --global user.email 'googleworkspace-bot@google.com'
27-
git commit -am "chore: Update dist/ directory"
28-
git push
22+
- uses: stefanzweifel/git-auto-commit-action@v4
23+
with:
24+
commit_message: "chore: Update dist/ directory"
25+
commit_user_name: Google Workspace Bot
26+
commit_user_email: googleworkspace-bot@google.com
27+
commit_author: Google Workspace Bot <googleworkspace-bot@google.com>

0 commit comments

Comments
 (0)