Skip to content

Submit Foojay from the signed-in local runner, not CI - #6042

Merged
shai-almog merged 1 commit into
masterfrom
foojay-local-runner
Oct 17, 2026
Merged

shai-almog merged 1 commit into
masterfrom
foojay-local-runner

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

Fixes #6034.

The daily Syndicate Blog Posts run failed on the Foojay step with Bad credentials (HTTP 401) from the FOOJAY_GITHUB_TOKEN secret. Rather than keep a separate cross-repo token alive in Actions, Foojay now runs where Medium and Hashnode run: the signed-in local runner (run-syndication.sh), which opens the editorial PR with its own gh login.

  • blog-syndication.yml: the Foojay step only runs --dry-run and no longer reads the secret.
  • syndication-health.yml: the alert text lists Foojay under the local runner.
  • foojay-syndication.md: setup describes the runner's gh login instead of the secret.

The runner script lives outside the repo; it gains a Foojay block next to Hashnode (--submit --head-repo shai-almog/website, with token env vars cleared).

🤖 Generated with Claude Code

CI held a separate FOOJAY_GITHUB_TOKEN that went bad (401) and failed the
daily syndication run (#6034). The local runner now submits with its own gh
login like the other signed-in platforms; CI only dry-runs the selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare Preview

@github-actions

Copy link
Copy Markdown
Contributor

✅ Continuous Quality Report

Test & Coverage

Static Analysis

  • SpotBugs [Report archive]
    • ✅ ByteCodeTranslator: 0 findings (no issues)
    • ✅ android: 0 findings (no issues)
    • ✅ android-compat: 0 findings (no issues)
    • ✅ android-res-compiler: 0 findings (no issues)
    • ✅ backend: 0 findings (no issues)
    • ✅ backend-test: 0 findings (no issues)
    • ✅ build-engine: 0 findings (no issues)
    • ✅ build-hint-catalog: 0 findings (no issues)
    • ✅ build-hint-tools: 0 findings (no issues)
    • ✅ codenameone-gradle-plugin: 0 findings (no issues)
    • ✅ codenameone-maven-plugin: 0 findings (no issues)
    • ✅ core-unittests: 0 findings (no issues)
    • ✅ ios: 0 findings (no issues)
    • ✅ javac: 0 findings (no issues)
    • ✅ project-model: 0 findings (no issues)
  • ✅ PMD: 0 findings (no issues) [Report archive]
  • ✅ Checkstyle: 0 findings (no issues) [Report archive]

Generated automatically by the PR CI workflow.

@shai-almog
shai-almog merged commit 20fbdd8 into master Oct 17, 2026
17 checks passed
@shai-almog
shai-almog deleted the foojay-local-runner branch October 17, 2026 14:53
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.

Syndication pipeline needs attention

1 participant