File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,9 +228,9 @@ jobs:
228228 # to ignore digest changes that cause infinite generate→merge loops.
229229 git checkout HEAD -- .speakeasy/workflow.lock 2>/dev/null || true
230230 git checkout HEAD -- .speakeasy/gen.lock 2>/dev/null || true
231- # Strip version from gen.yaml — version is managed by the release drafter,
232- # not committed to the repo .
233- yq -i 'del(.python.version)' gen.yaml 2>/dev/null || true
231+ # Exclude gen.yaml from drift check — version is injected by
232+ # --set-version at generation time and is not committed .
233+ git checkout HEAD -- gen.yaml 2>/dev/null || true
234234 if [ -n "$(git status --porcelain)" ]; then
235235 echo "has_changes=true" | tee -a $GITHUB_OUTPUT
236236 echo "=== Changed files ==="
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ generation:
2828 generateNewTests : false
2929 skipResponseBodyAssertions : false
3030python :
31+ # version is not committed — it is set dynamically via --set-version
32+ # by the generate workflow (release drafter resolves the next version).
3133 additionalDependencies :
3234 dev : {}
3335 main : {}
You can’t perform that action at this time.
0 commit comments