fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it #49

Open
ryangr0 wants to merge 1 commit from ryangr0/fix/github-distribute-no-prompt into main AGit
Owner

ploeg run 170: GitHub 401'd the force-push (rejected PAT) and git fell back to
prompting for credentials on stdin — a silent 25+ minute hang in a job with no
terminal. GIT_TERMINAL_PROMPT=0 turns that into an immediate loud failure, and
an empty-secret guard names the fix (classic PAT, repo + write:packages) before
git is even invoked. The GHCR job already fails fast on the same cause
('denied: denied' from docker login).

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

ploeg run 170: GitHub 401'd the force-push (rejected PAT) and git fell back to prompting for credentials on stdin — a silent 25+ minute hang in a job with no terminal. GIT_TERMINAL_PROMPT=0 turns that into an immediate loud failure, and an empty-secret guard names the fix (classic PAT, repo + write:packages) before git is even invoked. The GHCR job already fails fast on the same cause ('denied: denied' from docker login). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it
Some checks failed
docker-build-and-push-registry.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
forgejo-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
github-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
github-issue-create-by-prompt.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
github-issues-create-by-prompt.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-chart-deploy.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-chart-push.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-charts-deploy.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-charts-push.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
laravel-quality.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
php-application-static-analysis.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
rust-semantic-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
semantic-release-monorepo.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
semantic-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
setup-repository-bootstrap.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
setup-repository-copilot-files.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
setup-repository-create-from-template.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
spa-preview.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
static-analysis.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
sync-template-files.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-backstage-s3.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-codeberg.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-docs-site.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-gh-pages.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
tests.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
update_mkdocs.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
update_techdocs.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
wordpress-plugin-release-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
wordpress-plugin-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
4951f35737
ploeg run 170: GitHub 401'd the force-push (rejected PAT) and git fell back to
prompting for credentials on stdin — a silent 25+ minute hang in a job with no
terminal. GIT_TERMINAL_PROMPT=0 turns that into an immediate loud failure, and
an empty-secret guard names the fix (classic PAT, repo + write:packages) before
git is even invoked. The GHCR job already fails fast on the same cause
('denied: denied' from docker login).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Some checks failed
application-deploy-secrets.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
application-deploy.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
application-release-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
application-release-publish.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
application-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
composer-install.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push-ghcr.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push-harbor-fast.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push-harbor.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push-registry-fast.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push-registry.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
docker-build-and-push.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
forgejo-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
github-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
github-issue-create-by-prompt.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
github-issues-create-by-prompt.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-chart-deploy.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-chart-push.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-charts-deploy.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
helm-charts-push.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
laravel-quality.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
php-application-static-analysis.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
rust-semantic-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
semantic-release-monorepo.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
semantic-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
setup-repository-bootstrap.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
setup-repository-copilot-files.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
setup-repository-create-from-template.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
spa-preview.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
static-analysis.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
sync-template-files.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-backstage-s3.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-codeberg.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-docs-site.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
techdocs-deploy-gh-pages.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
tests.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
update_mkdocs.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
update_techdocs.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
wordpress-plugin-release-distribute.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
wordpress-plugin-release.yml / fix(github-distribute): a bad or missing PAT must fail the mirror, not hang it (pull_request) Failing after 0s
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/github-distribute.yml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/49/head:ryangr0/fix/github-distribute-no-prompt
git switch ryangr0/fix/github-distribute-no-prompt
Sign in to join this conversation.
No reviewers
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webgrip/workflows!49
No description provided.