diff --git a/.github/workflows/release-api-changelogs.yaml b/.github/workflows/release-api-changelogs.yaml index 6ffb1d3fb..10c5aca66 100644 --- a/.github/workflows/release-api-changelogs.yaml +++ b/.github/workflows/release-api-changelogs.yaml @@ -129,6 +129,9 @@ jobs: - name: Return to current version if: steps.previous_version.outputs.tag != '' run: | + # Remove copied scripts to avoid conflicts + rm -f scripts/snapshot-api.js scripts/compare-api-snapshots.js + git checkout - git stash pop || true