Fail when counter writes are rejected #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-counter-write-failures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The counter strategy must not continue when Forgejo rejects the variable update. Previously the action discarded the PUT or POST response, so a failed counter write could still emit a build number and let the release continue with stale state.
This captures the write response, fails the action on non-2xx responses, and adds an integration regression for a rejected counter write.
Verification: make all