Skip to content

Use read-only CI permissions - #1399

Merged
Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
dominicbytes:ci/read-only-permissions
Sep 7, 2026
Merged

Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
dominicbytes:ci/read-only-permissions

Conversation

@dominicbytes

@dominicbytes dominicbytes commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Set normal CI permissions to contents: read. Release publishing permissions remain unchanged.

Validation: checkout, cache and artifact operations pass in fork CI. Full platform builds were not rerun.

Summary by CodeRabbit

  • Security
    • Restricted automated workflow access to read-only repository contents, improving the safety of routine automation.

@dominicbytes
dominicbytes requested review from a team September 7, 2026 05:25
@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 4154b1c4-a309-4aa2-b630-568bdd00fd77

📥 Commits

Reviewing files that changed from the base of the PR and between 94cb3ad and b6d2cd0.

📒 Files selected for processing (1)
  • .github/workflows/runner.yml

Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review.


Walkthrough

The workflow now declares explicit read-only contents permissions for GITHUB_TOKEN instead of relying on repository defaults.

Changes

Workflow permissions

Layer / File(s) Summary
Declare read-only contents access
.github/workflows/runner.yml
The workflow adds a top-level permissions block with contents: read.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to b6d2c

Normal CI now uses read-only repository contents access, reducing token privileges without affecting the validated checkout and static-check behavior. No current merge-blocking risk remains.

Suggested reviewers: arctis-fireblight, decryptedchaos

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: applying read-only permissions to CI workflows.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

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

@dominicbytes dominicbytes changed the title Use read-only permissions for normal CI workflows Use read-only CI permissions Sep 7, 2026
@Arctis-Fireblight Arctis-Fireblight self-assigned this Sep 7, 2026
@Arctis-Fireblight
Arctis-Fireblight merged commit 216351a into Redot-Engine:master Sep 7, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants