We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f88dc7c commit 16b2b98Copy full SHA for 16b2b98
.github/workflows/generate.yml
@@ -57,11 +57,9 @@ jobs:
57
fi
58
59
- name: Commit and push changes
60
- if: steps.changes.outputs.has-changes == 'true'
61
run: |
62
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
+ git config --local user.name "GitHub Action"
+ git add .
+ git commit -m "Auto-generate wrapper from updated spec" || exit 0
+ git push # Uses GITHUB_TOKEN automatically
0 commit comments