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.
2 parents 9ea9b81 + 8537959 commit b225551Copy full SHA for b225551
.github/workflows/reusable-generate_other_formats.yaml
@@ -104,12 +104,16 @@ jobs:
104
if ! git diff --cached --quiet; then
105
git commit -m "generate another formats for ${models_list} model(s)"
106
git status
107
+ # Stash any remaining local changes (including untracked files) before pulling
108
+ git stash --include-untracked
109
if git pull --rebase; then
110
git push
111
else
112
echo "Failed to pull --rebase, setting upstream"
113
git push --set-upstream origin $BRANCH_NAME
114
fi
115
+ # Unstash the changes so they're available for the next workflow step
116
+ git stash pop || echo "No stashed changes to apply"
117
118
echo "No changes to commit"
119
0 commit comments