Skip to content

Commit 16b2b98

Browse files
committed
Commit .
1 parent f88dc7c commit 16b2b98

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/generate.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,9 @@ jobs:
5757
fi
5858
5959
- name: Commit and push changes
60-
if: steps.changes.outputs.has-changes == 'true'
6160
run: |
6261
git config --local user.email "action@github.com"
63-
git config --local user.name "GitHub Action"
64-
# Add only specific directories/files, not everything
65-
git add lib/ docs/ src/ composer.json README.md
66-
git commit -m "Auto-generate wrapper from updated spec"
67-
git push
62+
git config --local user.name "GitHub Action"
63+
git add .
64+
git commit -m "Auto-generate wrapper from updated spec" || exit 0
65+
git push # Uses GITHUB_TOKEN automatically

0 commit comments

Comments
 (0)