Fix/token permissions id 20260911 - #774
Conversation
Removing rust-ci.yml workflow since this repository has no Rust code (Cargo.toml not present). The reusable rust-ci-reusable.yml already guards itself by detecting Cargo.toml presence, but repos without Rust code shouldn't trigger unnecessary workflow runs. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
…le workflows - Add persist-credentials: false to checkout action in codeql-reusable.yml - Add persist-credentials: false to checkout action in hypatia-scan-reusable.yml This prevents credential persistence in CI/CD workflows, improving security. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
…-level write Apply principle of least privilege for GITHUB_TOKEN: - Change top-level permissions from 'contents: write' to 'contents: read' - Add job-level 'permissions: contents: write' to jobs that need it This resolves Scorecard TokenPermissionsID alerts by following GitHub's recommended security practice of granting minimal top-level permissions and escalating only at the job level where needed. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Apply principle of least privilege for GITHUB_TOKEN: - Change top-level permissions to read-only - Jobs inherit read permissions, can escalate as needed This resolves Scorecard TokenPermissionsID alerts. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add Optimus-Branch.json for branch protection - Add Immutable-Tags.json for tag protection - Both use native GitHub rulesets API (no bypass actors) - Replaces deprecated probot/settings branch protection Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (8)
📝 SummarySummary by CodeRabbit
WalkthroughThe changes narrow GitHub Actions permissions, prevent checkout credential persistence, remove the standalone Rust CI workflow, and add active rulesets for tag and default-branch protection. ChangesRepository governance
Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Suggested reviewers: ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
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. A rabbit checks the workflow gate, Comment |
|



Summary
Closes #
Type of change
How has this been verified?
Checklist
git commit -S).SPDX-License-Identifier(code/configMPL-2.0,prose
CC-BY-SA-4.0); I did not relicense existing files.Notes for reviewers