chore: harden dependency and workflow automation#97
chore: harden dependency and workflow automation#97devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Adds repository security hardening matching agentuity/sdk#1471: - Renovate config with release-age gates, dependency dashboard, and digest pinning - Gitleaks scan workflow (PR + nightly) - OSV-Scanner PR diff workflow and nightly reusable scan - Trivy filesystem SARIF scan - Actionlint workflow validating workflow changes - Pinned action references and minimal token scope in new workflows
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
Comment |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
…S for SARIF upload
Summary
Applies the same dependency and workflow automation hardening shipped in agentuity/sdk#1471 to this repository.
Adds:
renovate.json— Renovate config withconfig:best-practices, dependency dashboard, semantic commits, GitHub Action digest pinning, npm release-age gate (3 days), lock file maintenance, and major-update approval gate. Configured forbunbecause every example usesbun.lock..github/workflows/gitleaks.yml— Gitleaks secret scan on PRs, merge group, daily, and manual dispatch..github/workflows/osv-scanner-pr.yml— OSV-Scanner diff scan that fails on newly introduced vulnerabilities and uploads SARIF. Runs recursively so every example is scanned..github/workflows/osv-scanner-nightly.yml— Nightly full OSV-Scanner via the reusable workflow..github/workflows/trivy.yml— Trivy filesystem scan for CRITICAL/HIGH vulnerabilities, uploads SARIF..github/workflows/actionlint.yml— Actionlint on workflow changes..github/actionlint.yaml— Declares known self-hosted runner labels.All new workflows declare a minimal
permissions:scope, blank outGITHUB_TOKEN, usepersist-credentials: false, and pin every third-party action to a commit digest.Review & Testing Checklist for Human
GITLEAKS_LICENSEorg secret is available so the gitleaks workflow can run (it's referenced viasecrets.GITLEAKS_LICENSE).Notes
This repo currently has no existing GitHub Actions workflows, so only the new security workflows and the
renovate.jsonare added — no existing workflow modifications are needed. The scanners run with--recursive, so every example sub-project is scanned in one CI run.Link to Devin session: https://app.devin.ai/sessions/cd54221cc1e34e1e8f95b6c7fea17f53
Requested by: @jhaynie