Skip to content

fix(ci): check deployment revision without API credentials - #53

Merged
tiagosiebler merged 3 commits into
mainfrom
fix/deploy-main-api-auth
Nov 18, 2026
Merged

tiagosiebler merged 3 commits into
mainfrom
fix/deploy-main-api-auth

Conversation

@tiagosiebler

@tiagosiebler tiagosiebler commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Replace the deployment guard’s failing anonymous REST request with a public Git ref lookup. Keep the existing stale-revision protection, permissions and deployment conditions unchanged.

  • No token, credential setup, checkout or added permission.
  • Explicit Bash enables pipefail so a failed Git lookup cannot be swallowed by cut.
  • Disable interactive Git prompts and bound the guard step to one minute.
  • No new test harness or documentation changes.

Verification

  • Locally exercised current SHA, stale SHA and Git failure against the actual shell command with Actions Bash flags; all passed.
  • Live public ls-remote returned the current main SHA.
  • Existing CI-planning tests and git diff --check passed.
  • Full existing test suite and release build run in PR CI.

Production deployment verification remains post-merge.

@tiagosiebler
tiagosiebler marked this pull request as ready for review November 18, 2026 15:18
@tiagosiebler
tiagosiebler marked this pull request as draft November 18, 2026 15:22
@tiagosiebler tiagosiebler changed the title fix(ci): authenticate deployment revision check fix(ci): check deployment revision without API credentials Nov 18, 2026
@tiagosiebler
tiagosiebler marked this pull request as ready for review November 18, 2026 15:34
@tiagosiebler
tiagosiebler merged commit 7511794 into main Nov 18, 2026
2 checks passed
@tiagosiebler
tiagosiebler deleted the fix/deploy-main-api-auth branch November 18, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant