Repository navigation
Troubleshooting
github-actions[bot] edited this page Nov 28, 2026
·
10 revisions
Symptom, likely cause, fix. Many of these cost an afternoon the first time; the stories are in Lessons learned.
| Symptom | Cause | Fix |
|---|---|---|
domain not allowed: <host> in a job log |
block mode and the host is not on the list |
If expected, add it to extra-allowed-endpoints in your caller. If not expected, investigate: something new is talking to the network |
| Everything is blocked, even PyPI, after you edited a list | The allow-list was written as a YAML ` | ` block (newlines), or contains a wildcard |
fedora:* distro job fails fetching packages |
dnf mirrors change per run |
distro-egress-policy: audit, or add the mirrors you observed |
| Symptom | Cause | Fix |
|---|---|---|
claim "sub" does not match identity auth config |
The Doppler identity lists only the plain subject; the repository sends the immutable one (default from mid-2026) | Add both subject forms, each with its tag twin. Doppler has no identity update: create a new identity, point DOPPLER_IDENTITY_ID at it, delete the old |
| Snyk, Docker Hub or project-sync step "skipped" with a notice | A pull request or non-default branch: secrets are fetched only on trusted refs | Working as designed. Test on the default branch, a version tag (vN.N.N) or a schedule |
| Secret step does nothing, no error |
doppler-identity-id unset and no DOPPLER_TOKEN: path 3 ("nothing") |
Set DOPPLER_IDENTITY_ID (a repository variable) and pass doppler-identity-id: ${{ vars.DOPPLER_IDENTITY_ID }}
|
| Snyk job fails with exit 2 | Expired or revoked SNYK_TOKEN
|
Renew it with scripts/doppler-ci-set.sh SNYK_TOKEN. The token expires; note the date |
project-sync needs a fetch on pull_request_target but skips |
doppler-trusted-refs-only is true
|
Set false in that caller only; never in a caller that checks out the PR |
project-sync fails on pull_request_target with claim "sub" does not match
|
The identity has no :pull_request subject, as the ci identity must not |
Use the projects/prd scope and its own identity (PROJECTS_DOPPLER_IDENTITY_ID), or pass pull-request-events: false, or drop the trigger from the caller |
zizmor dangerous-triggers on a project-sync caller |
The trigger is the finding | Keep the two # zizmor: ignore[dangerous-triggers] lines from the README template, with their reason |
Input 'app-id' has been deprecated |
The caller passes app-id
|
Pass client-id: ${{ vars.PROJECTS_APP_CLIENT_ID }} instead |
| Symptom | Cause | Fix |
|---|---|---|
Run ends startup_failure with no annotation |
An action (or a nested action inside a composite) is not on the Actions allow-list | Read the action's action.yml for nested uses:; add both repository and subdirectory forms to baseline/selected-actions.json and PUT it |
Run ends startup_failure, no check run at all, so the required CI green context never appears; the run page says is requesting id-token: write, but is only allowed id-token: none
|
The caller job grants less than a job in the called workflow declares. GitHub validates the grants before it starts any job or evaluates an if, and job permissions are static, so a switch such as codecov: false cannot remove a grant |
Grant the union of what the called workflow's jobs declare. python-ci.yml: contents: read, pull-requests: read and id-token: write, even with codecov: false. tofu-ci.yml: contents: read, pull-requests: read and id-token: write. container-release.yml: contents: read, packages: write, id-token: write, attestations: write, security-events: write. bash-ci.yml: contents: read and pull-requests: read. A merge watcher that looks for failing checks sees nothing here; look for the run itself |
uses: line rejected / resolves oddly |
Pinned to a tag object SHA, not a commit | Use the ^{} (peeled) line from git ls-remote --tags
|
zizmor: ref-version-mismatch
|
The # vX.Y.Z comment names a tag that does not match, or does not exist |
Fix the comment, or fetch tags and check what exists |
| Dependabot bumps pile up unmerged | Allow auto-merge is off, or no required status check | Enable per BASELINE.md; the audit's auto-merge-enabled check says so |
| Auto-merge left a PR open | It is a major bump, or Dependabot reported no update type (fails closed) | Review and merge by hand |
| A Dependabot bump to a universal lock breaks part of the Python matrix | The lock is being updated by the pip ecosystem, which re-resolves for one interpreter |
Use the uv ecosystem for that file (audit check dependabot-ecosystem) |
| Symptom | Cause | Fix |
|---|---|---|
| Snyk: "Missing required packages" / exit 2 | Snyk's resolver refuses a universal lock | Already handled: the workflow scans a pip freeze. If you see it, you are on an old pin |
| Snyk "nothing to scan" warning (exit 3) | Shell-only repo, or a pyproject.toml-only repo with no lock |
Expected for shell-only. For pyproject.toml, set snyk-install-command: pip install .
|
Trivy flags setuptools/msgpack that upgrading doesn't clear |
They are pip's vendored copies under pip/_vendor
|
pip uninstall -y pip as the last build step; a runtime image has no use for it |
| CodeQL fails for a language |
codeql-languages lists one the repository has no source for |
Pass only the languages present (actions alone is valid) |
| Semgrep finds shell issues you expected | No Semgrep registry pack covers shell | ShellCheck (bash-ci.yml) is the shell coverage |
| A pip-audit/dependency-review exception fails the audit | It is not in baseline/risk-register.yaml, is registered for another repo, or review_by passed |
Register it first (reason, mitigation, owner, expiry <=90 days), or renew/remove it |
| Symptom | Cause | Fix |
|---|---|---|
| Package release refuses the tag | The tag's version disagrees with the version in the built sdist | Make them agree; tag-prefix controls what precedes the version |
PyPI publish is rejected with invalid-publisher
|
The publish ran inside a reusable workflow, whose OIDC identity PyPI cannot match to your publisher (or the Publisher entry names the wrong workflow file or environment) | Publish from a job in your own workflow: actions/download-artifact then pypa/gh-action-pypi-publish as direct steps, never wrapped in a composite action (see python-package-release); the Publisher names that workflow's file and the pypi environment |
| Cosign verification fails on the identity | You matched the caller's workflow; the certificate names the reusable workflow | Use --certificate-identity-regexp '^https://github.com/ChiefGyk3D/git-your-ship-together/'
|
Temporary <sha>-<run id>-<attempt>-<arch> tags and a stage-<sha>-<run id>-<attempt> tag clutter GHCR |
Each platform job pushes one tag, and the merge job stages the index under the other, before the real tags are promoted from the verified digest | Delete them when you no longer need them; the index and its platform images are referenced by digest, so remove only the tags, not the package versions |
Docs deploy fails with a Pages message |
Pages source is not "GitHub Actions" | Settings, Pages, Source: GitHub Actions. deploy: false meanwhile |
Wiki publish fails: "no first page yet" |
GitHub only creates a wiki's git repo when a page is made in the UI | Create any page once, re-run (Maintaining this wiki) |
| Symptom | Cause | Fix |
|---|---|---|
Audit red with UNKNOWN
|
The App could not ask: a read permission missing from the App, or a repository (or owner) its installation does not include (403/404 in the reason; an org-* line names the permission) |
Fix the App, not the check |
| Audit fails at the Doppler step, or at Mint a one-hour installation token |
AUDIT_DOPPLER_IDENTITY_ID, the audit Doppler project or the identity is not set up; or AUDIT_APP_CLIENT_ID or the key is wrong, or the App is not installed on that owner |
Setup steps in the README, "The weekly audit" |
FAIL names a setting |
It drifted | Fix the repository using BASELINE.md's gh api command; if the baseline was wrong, change the baseline and the check in the same PR |
| Symptom | Cause | Fix |
|---|---|---|
...grants id-token: write. If intended, add it to ALLOWED_WRITES |
A new write permission | If genuinely needed, add it to ALLOWED_WRITES with a reason |
| An input is "not documented" | Missing README table row | Add the row |
| The inlined Doppler script differs from the action | You edited one copy | Edit .github/actions/doppler-secrets/action.yml and regenerate/sync every inlined copy |
tests/test_wiki.py says a thing is not mentioned |
The wiki has not caught up | Add it to the right page (Maintaining this wiki) |
Generated from docs/wiki/ at commit f3af2fa0bae3. Do not edit this wiki: the next push to main replaces every page. Corrections go to docs/wiki/ by pull request.
GYST
- Home
- Why GYST exists
- Getting started
- Design rules
- Secrets: Doppler and OIDC
- Security scanning explained
- The baseline and the weekly audit
- Releases and supply chain
- Keeping a project board current
- Adopting GYST in your own project
- Glossary
- Roadmap
Learn and contribute
- Learning path
- Which workflow do I need?
- Repository map
- Egress control
- Troubleshooting
- Lessons learned
- Testing and the contract
- Contributing and developing
- Maintaining this wiki
- Verify main
- FAQ
CI
Security
Release
- container-release
- python-docker-release
- python-package-release
- artifact-release
- verify-published
- base-image-digest
Docs and project
- docs-pages
- wiki-publish
- project-sync
- threat-model
- lory-audit
- agent-scan
- token-drift
- node-typecheck
- pr-title-lint
- vendored-drift
- upstream-sync
- repin
- pin-comments
Tools