1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00

fix: improve dist update messaging and ensure proper CI flow

- Add clear message when dist is auto-updated
- Exit with code 1 to prevent auto-merge of out-of-date dist
- This ensures the PR must pass CI again after dist update
This commit is contained in:
Jason Hall 2025-07-30 11:01:34 -04:00
parent cf69be2f04
commit 422a3478df
Failed to extract signature

View file

@ -56,7 +56,10 @@ jobs:
git add dist/
git commit -m "chore: update dist" --no-verify
git push
exit 1 # Fail CI, to ensure the PR does not auto-merge
echo ""
echo "✅ Updated dist/ directory. The check-dist job will pass on the next CI run."
echo ""
exit 1 # Fail to prevent auto-merge of out-of-date dist
# For PRs from forks, fail with instructions
- name: Fail if dist is out of date (fork PR)