Skip to content

πŸ› fix: allow img.shields.io in CSP connect-src so navbar GitHub stats load - #535

Merged
hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-532
Oct 31, 2026
Merged

hivecommons-hive[bot] merged 1 commit into
mainfrom
scanner/fix-532

Conversation

@hivecommons-hive

Copy link
Copy Markdown
Contributor

The site CSP connect-src omitted https://img.shields.io, so the three fetches in useGithubStats.ts were blocked; Promise.allSettled swallowed the rejections and the navbar kept its placeholders. This adds img.shields.io (and https://docs.hivecommons.dev, used by useSharedConfig on preview deploys), fixes the misleading comment, and extends the header test to assert both origins. Changelog fragment included.

Closes #532

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Oct 31, 2026

Copy link
Copy Markdown

❌ Deploy Preview for hivecommons-docs failed. Why did it fail? β†’

Name Link
πŸ”¨ Latest commit 16e11ca
πŸ” Latest deploy log https://app.netlify.com/projects/hivecommons-docs/deploys/6ae54e05dae3f891b68092a7

@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 31, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author

hive/awaiting-ci: CI pending β€” sweep will merge when green.


🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

β€” hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive
hivecommons-hive Bot merged commit 1d0863b into main Oct 31, 2026
6 of 11 checks passed
@kubestellar-prow
kubestellar-prow Bot deleted the scanner/fix-532 branch October 31, 2026 02:28
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#53516e11ca` sha256:cb66978054f1c33330cb3f8b3dd5287c1205f10fe34dc5546f6b9887e4640eca β€” download from the dashboard or `hivectl review evidence #535`.

@hivecommons-hive hivecommons-hive Bot removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off dco-signoff: yes size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[scanner] CSP connect-src blocks the navbar GitHub-stats fetch (img.shields.io not allowed)

0 participants