HEAD~1 doesn't work for merge commits. Use github.event.before (the previous main tip) for push events and github.event.pull_request.base.sha for PRs. fetch-depth: 0 ensures both SHAs are available. Fallback: if BASE is empty (new branch), run all jobs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| e2e-api.yml | ||
| publish-canvas-image.yml | ||
| publish-platform-image.yml | ||