Skip to content

feat(ci): reusable workflows 加 Harden-Runner egress audit + scorecard - #2

Merged
randypanding merged 1 commit into
mainfrom
chore/harden-runner-audit
Aug 18, 2026
Merged

feat(ci): reusable workflows 加 Harden-Runner egress audit + scorecard#2
randypanding merged 1 commit into
mainfrom
chore/harden-runner-audit

Conversation

@randypanding

Copy link
Copy Markdown
Contributor

内容

  1. hygiene / check / dep-review / release 四个 reusable job 首步加 Harden-Runner(egress-policy: audit:只记录出网、不拦截、零风险)
  2. 新增本仓 scorecard 周扫(周一 05:30 UTC)
  3. 全部 pin SHA(harden-runner v2.21.0 = 05e31511),过 zizmor

决策依据:ADR-0011(https://github.com/Cloudbird-Software/agent-registry/pull/6)

切 block 时的起点 allowlist(audit 约 2 周后按日志收敛)

  • hygiene: github.com, api.github.com, objects.githubusercontent.com(gitleaks 下载), astral.sh(uv), pypi.org, files.pythonhosted.org(uvx zizmor)
  • check(node): 上述 + registry.npmjs.org, nodejs.org
  • dep-review: api.github.com
  • release: api.github.com, uploads.github.com, objects.githubusercontent.com, registry.npmjs.org, fulcio.sigstore.dev, rekor.sigstore.dev, tuf-repo-cdn.sigstore.dev(attestation)

生效说明

本仓 ci.yml 是内联副本,PR 自身检查不执行新 step;合并 + bump v1 标签后由调用方(template-service 等)实际生效。

依赖顺序

依赖 .github 的 allowlist PR 先合并并 apply——否则 bump v1 后调用方 CI 会因 action 未放行而失败。

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@randypanding, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 3 minutes

Limit details: You’ve used all 3 included reviews currently available under your plan.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0f0b468f-3ec8-4ffa-bf01-e8cfafb30190

📥 Commits

Reviewing files that changed from the base of the PR and between 17ca80e and 42b3321.

📒 Files selected for processing (5)
  • .github/workflows/check.yml
  • .github/workflows/dep-review.yml
  • .github/workflows/hygiene.yml
  • .github/workflows/release.yml
  • .github/workflows/scorecard.yml

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

@randypanding
randypanding merged commit 8cccf1b into main Aug 18, 2026
5 checks passed
@randypanding
randypanding deleted the chore/harden-runner-audit branch August 18, 2026 13:33
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