Skip to content

Commit 1476676

Browse files
committed
Fix commit issue?
1 parent bc52516 commit 1476676

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/generate.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
git config --local user.name "GitHub Action"
5757
git add .
5858
git reset .gitignore
59-
git reset -- $(git ls-files --ignored --exclude-standard) || true
59+
git reset spec.yaml 2>/dev/null || true
60+
git reset openapi-generator-cli*.jar 2>/dev/null || true
61+
git reset .openapi-generator/ 2>/dev/null || true
62+
git reset .github/workflows/*.yml 2>/dev/null || true
6063
git commit -m "Auto-generate wrapper from updated spec" || exit 0
6164
git push # Uses GITHUB_TOKEN automatically

0 commit comments

Comments
 (0)