Skip to content

ci: scope sync jobs to Node Sync environment#397

Merged
dohernandez merged 1 commit intomainfrom
ci/sync-docs-github-app
Apr 29, 2026
Merged

ci: scope sync jobs to Node Sync environment#397
dohernandez merged 1 commit intomainfrom
ci/sync-docs-github-app

Conversation

@dohernandez
Copy link
Copy Markdown
Member

Description

Fixes the Sync Documentation from Node Repository workflow run failures caused by missing credentials at runtime. The App secrets (NODE_SYNC_APP_CLIENT_ID, NODE_SYNC_APP_KEY) are stored in the Node Sync GitHub Environment, so jobs that read them must declare environment: Node Sync at the job level — otherwise secrets.NODE_SYNC_APP_* resolves to empty and the App token mint step receives blank credentials.

Changes

  • .github/workflows/sync-docs-from-node.yml:
    • Added environment: Node Sync to the prepare and sync-files jobs (the two jobs that mint the App token).
    • Reverted client-id source from ${{ vars.NODE_SYNC_APP_CLIENT_ID }} to ${{ secrets.NODE_SYNC_APP_CLIENT_ID }} (both occurrences) — the value is stored as an environment secret in this repo, not a variable.
  • .github/workflows/README.md: documents the Node Sync environment requirement and lists both credentials as environment secrets.

Required Configuration

GitHub Environment: Node Sync

  • NODE_SYNC_APP_CLIENT_ID (environment secret)
  • NODE_SYNC_APP_KEY (environment secret)

Failed run that prompted this fix: https://github.com/genlayerlabs/genlayer-docs/actions/runs/25096528000

Credentials are stored as environment secrets in the Node Sync environment,
so jobs minting the App token must declare environment: Node Sync at the job
level. Reverts the client-id source from vars to secrets to match the
environment's actual storage.
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 29, 2026

Deploy Preview for genlayer-docs ready!

Name Link
🔨 Latest commit 25e78bf
🔍 Latest deploy log https://app.netlify.com/projects/genlayer-docs/deploys/69f1c00c422e2200082ac807
😎 Deploy Preview https://deploy-preview-397--genlayer-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@dohernandez has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 60bfa490-8851-40d3-8f07-e311fd64eb68

📥 Commits

Reviewing files that changed from the base of the PR and between 0518c3a and 25e78bf.

📒 Files selected for processing (2)
  • .github/workflows/README.md
  • .github/workflows/sync-docs-from-node.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/sync-docs-github-app

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 50 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@dohernandez dohernandez merged commit 8a29727 into main Apr 29, 2026
7 checks passed
@dohernandez dohernandez deleted the ci/sync-docs-github-app branch April 29, 2026 08:28
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