Skip to content

Make CI succeed for fork and Dependabot PRs#57

Merged
nickbabcock merged 1 commit into
masterfrom
worktree-conditional-tokens-ci
Jun 15, 2026
Merged

Make CI succeed for fork and Dependabot PRs#57
nickbabcock merged 1 commit into
masterfrom
worktree-conditional-tokens-ci

Conversation

@nickbabcock

Copy link
Copy Markdown
Contributor

Secrets aren't exposed to PRs from forks (or secretless same-repo PRs like Dependabot), so cloning the private tokens repo failed. Gate the clone on the secret's presence

Also add eu5 to build.rs so token-less builds compile.

Secrets aren't exposed to PRs from forks (or secretless same-repo PRs
like Dependabot), so cloning the private pdx-tools/tokens repo failed.
Gate the clone on the secret's presence and fall back to build.rs's
empty token files; still fail trusted events (push/tag/schedule) loudly
when the secret is missing.

Also add eu5 to build.rs so token-less builds compile, since
src/tokens.rs embeds assets/tokens/eu5.txt via include_bytes!.
@nickbabcock nickbabcock merged commit 270d5ba into master Jun 15, 2026
5 checks passed
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