INFRA-1882: publish the acceptance package on workflow-only changes
Fast-follow from https://github.com/Unstructured-IO/unstructured-api/pull/597#discussion_r4667231346: a fix to cd_acceptance_package.yml alone could not trigger a publish, and rerunning a failed job reuses the old workflow definition.
What changed
.github/workflows/cd_acceptance_package.ymlis now in its ownpush.paths.workflow_dispatchis added.
The version is still <major>.<minor>.<commits touching acceptance/>. So a workflow-only push publishes the current version if an earlier run failed to, and otherwise hits the existing "already published; nothing to do" path. A manual dispatch has to run from main, because the publisher identity only admits refs/heads/main. From any other ref it fails at the publisher login.
Overlap with #598
#598 also edits this file, adding a job-level env: block. This PR touches only the on: block, so the two should merge cleanly in either order.
Session: INFRA-1882 do-task fast-follow (workflow triggers)
š¤ Generated with Claude Code