Skip to content

ci(docs): authenticate GitHub API calls in docs build - #9216

Merged
Zaimwa9 merged 2 commits into
mainfrom
ci/docs-github-token
Dec 2, 2026
Merged

Zaimwa9 merged 2 commits into
mainfrom
ci/docs-github-token

Conversation

@Zaimwa9

@Zaimwa9 Zaimwa9 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Passes GITHUB_TOKEN to the docs build so the flagsmith-versions plugin's GitHub API calls are authenticated, fixing intermittent API rate limit exceeded failures in Link Check Docs.

How did you test this code?

Ran the plugin locally with CI=1 and a token; versions load.

@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated
docs Ignored Ignored Preview Dec 2, 2026 12:05pm UTC
flagsmith-frontend-preview Ignored Ignored Preview Dec 2, 2026 12:05pm UTC
flagsmith-frontend-staging Ignored Ignored Preview Dec 2, 2026 12:05pm UTC

Request Review

@github-actions github-actions Bot added docs Documentation updates and removed docs Documentation updates labels Dec 2, 2026
@github-actions github-actions Bot added the ci-cd Build, test and deployment related label Dec 2, 2026
@Zaimwa9
Zaimwa9 marked this pull request as ready for review December 2, 2026 11:49
@Zaimwa9
Zaimwa9 requested review from a team as code owners December 2, 2026 11:49
@Zaimwa9
Zaimwa9 requested review from matthewelwell and removed request for a team December 2, 2026 11:49
@github-actions github-actions Bot removed the ci-cd Build, test and deployment related label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-9216 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-9216 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-9216 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith-api:pr-9216 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith-private-cloud:pr-9216 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith:pr-9216 Finished ✅ Results ✅

@github-actions github-actions Bot added the ci-cd Build, test and deployment related label Dec 2, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/docs-pull-request.yml Resolved
@codecov

codecov Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.96%. Comparing base (c1c7d96) to head (ad8e0f6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9216   +/-   ##
=======================================
  Coverage   98.96%   98.96%           
=======================================
  Files        1724     1724           
  Lines       73845    73845           
=======================================
  Hits        73078    73078           
  Misses        767      767           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #24056 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  7 passed

Details

stats  7 tests across 6 suites
duration  54.7 seconds
commit  ad8e0f6
info  🔄 Run: #24056 (attempt 1)

🗂️ Previous results
✅ private-cloud · depot-ubuntu-latest-16 — run #24056 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  4 passed

Details

stats  4 tests across 4 suites
duration  32.8 seconds
commit  ad8e0f6
info  🔄 Run: #24056 (attempt 1)

✅ oss · depot-ubuntu-latest-arm-16 — run #24056 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  36.1 seconds
commit  ad8e0f6
info  🔄 Run: #24056 (attempt 1)

✅ oss · depot-ubuntu-latest-16 — run #24056 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  32 seconds
commit  ad8e0f6
info  🔄 Run: #24056 (attempt 1)

✅ private-cloud · depot-ubuntu-latest-16 — run #24053 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  7 passed

Details

stats  7 tests across 5 suites
duration  6.5 seconds
commit  1316c1b
info  🔄 Run: #24053 (attempt 1)

✅ private-cloud · depot-ubuntu-latest-arm-16 — run #24053 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  6 passed

Details

stats  6 tests across 6 suites
duration  3.7 seconds
commit  1316c1b
info  🔄 Run: #24053 (attempt 1)

✅ oss · depot-ubuntu-latest-16 — run #24053 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  31.5 seconds
commit  1316c1b
info  🔄 Run: #24053 (attempt 1)

✅ oss · depot-ubuntu-latest-arm-16 — run #24053 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  34.7 seconds
commit  1316c1b
info  🔄 Run: #24053 (attempt 1)

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Visual Regression

31 screenshots compared. See report for details.
View full report

gagantrivedi
gagantrivedi previously approved these changes Dec 2, 2026
@github-actions github-actions Bot added docs Documentation updates ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related docs Documentation updates labels Dec 2, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Docs build now authenticates GitHub API calls with a read-only GITHUB_TOKEN to prevent rate-limit failures; the change is confined to CI tooling and clearly beneficial.

Turn on auto-fix | Re-trigger cubic

@Zaimwa9
Zaimwa9 merged commit 64a9952 into main Dec 2, 2026
33 checks passed
@Zaimwa9
Zaimwa9 deleted the ci/docs-github-token branch December 2, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Build, test and deployment related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants