We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 930db8c commit c531088Copy full SHA for c531088
.github/workflows/master.yml
@@ -32,15 +32,8 @@ jobs:
32
git config user.name "github-actions[bot]"
33
git config user.email "github-actions[bot]@users.noreply.github.com"
34
35
- - name: Commit and push bundled spec
36
- run: |
37
- git add openapi-full.json
38
- if git diff --cached --quiet; then
39
- echo "No changes to commit."
40
- else
41
- git commit -m "chore: update bundled OpenAPI spec"
42
- git push
43
- fi
44
- env:
45
- # Use GitHub Actions token to push the commit
46
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Commit and push changes
+ uses: stefanzweifel/git-auto-commit-action@v5
+ with:
+ commit_message: chore: update bundled OpenAPI spec
+ file_pattern: openapi-full.json
0 commit comments