ci: support workflow_dispatch, pin step versions, drop push retries#48
Merged
Conversation
Fall back to github.sha for the image tag so manual workflow_dispatch runs (no release payload) get a valid tag. Tighten action pins to exact semver comments matching the CI convention. Remove the push/rebase retry loop now that the shared declarative-deploy concurrency group serializes deploys. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR improves the GitHub Actions CI workflows for staging and production deployments with three targeted changes. All modifications are confined to
Confidence Score: 5/5Both files are safe to merge; changes are additive CI improvements with no runtime code affected. The TAG fallback correctly handles the empty-string case that would break manual dispatch runs, the SHA pins are untouched so actual action behavior is identical, and the retry removal is properly justified by the shared deploy concurrency group that already prevents concurrent pushes from these workflows. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "ci: support workflow_dispatch, pin step ..." | Re-trigger Greptile |
ChiragAgg5k
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.shafor the production image tag (${{ github.event.release.tag_name || github.sha }}) so manualworkflow_dispatchruns — which carry no release payload — still produce a valid tag. Staging already usedgithub.sha, so it's unchanged.ci.yml/publish.ymlconvention (checkout v6.0.3, login-action v3.7.0, build-push-action v6.19.2, create-github-app-token v2.2.2). SHAs are unchanged — only the comments are now precise.concurrency.group: declarative-deploy(cancel-in-progress: false) already serializes deploys, making the retry redundant; a rejected push now fails fast.Notes
Affects
staging.ymlandproduction.ymlonly. Both validate as YAML.🤖 Generated with Claude Code