ci: remove temporary deploy override (#22389)

Merge after Tuesday March 3rd.

Co-authored-by: Atif Ali <atif@coder.com>
This commit is contained in:
Cian Johnston
2026-03-05 09:47:15 +00:00
committed by GitHub
parent d0a51e1752
commit 9c91f472b9
-14
View File
@@ -17,20 +17,6 @@ deploy_branch=main
# branch names.
branch_name=$(git branch --show-current)
# --- BEGIN TEMPORARY SHORT-CIRCUIT ---
# Forces deployment of main. Remove after 2026-03-04T12:00Z.
if [[ "$branch_name" == "main" ]]; then
log "TEMPORARY SHORT-CIRCUIT: deploying main"
log "VERDICT: DEPLOY"
echo "DEPLOY"
exit 0
else
log "VERDICT: DO NOT DEPLOY"
echo "NOOP"
exit 0
fi
# --- END TEMPORARY SHORT-CIRCUIT ---
if [[ "$branch_name" != "main" && ! "$branch_name" =~ ^release/[0-9]+\.[0-9]+$ ]]; then
error "Current branch '$branch_name' is not a supported branch name for dogfood, must be 'main' or 'release/x.y'"
fi