fix(site): run the DNS preview in a direct job so it gets an OIDC token #227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ryangr0/dns-preview-direct-job"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first run after #222 failed with
no OIDC token endpoint(run 950). Forgejo 15 does not passenable-openid-connectto the jobs it expands from a reusable workflow, whether it is set on the caller or on the inner job. Release signing gets its token because its job is declared directly.on_dns_change.ymlnow runs a single direct job:openbao-readaction fromwebgrip/workflowsv2.8.0 on roleci-unfold, reading the read-only token;dnscontrol check;--expect-no-changeson the daily schedule.Tested:
scripts/workflow-policy.test.cjs: 22/22.mise run docs-check: passes.dnscontrol previewwith the mintedunfoldhq-dev-rotoken succeeds (rc 0, 8 corrections).Not tested: the OIDC exchange itself; it runs on the first push after merge.
The preview shows that the live zone has 5 MX records and an SPF TXT for Namecheap email forwarding that the config doesn't declare. Applying the config would delete them. That decision is separate from this PR.
🤖 Generated with Claude Code