Skip to content

fix(ci): repair the permissions block indentation (invalid YAML) - #71

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/ci-permissions-indentation
Sep 21, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/ci-permissions-indentation

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The permissions: block added by the caller-permission campaign was indented one level too deep (appended at job-child indent + 2), which makes the whole workflow file invalid YAML (mapping values are not allowed here) and stops the workflow loading at all. This dedents the block to job-key level — keeping the grants — and validates the file parses before committing.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 7c844238-1dbd-4110-a724-b2b38fd6016b

📥 Commits

Reviewing files that changed from the base of the PR and between d634406 and 6c66295.

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

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (28)
  • GitHub Check: scan / rust-secrets
  • GitHub Check: scan / shell-secrets
  • GitHub Check: hypatia / Hypatia Neurosymbolic Analysis
  • GitHub Check: scan / gitleaks
  • GitHub Check: analyze (actions, none)
  • GitHub Check: Runtime Policy
  • GitHub Check: debian-11
  • GitHub Check: rockylinux-9
  • GitHub Check: opensuse-leap-15.5
  • GitHub Check: ubuntu-22.04
  • GitHub Check: fedora-39
  • GitHub Check: almalinux-9
  • GitHub Check: ubuntu-24.04
  • GitHub Check: ubuntu-20.04
  • GitHub Check: archlinux
  • GitHub Check: fedora-40
  • GitHub Check: debian-12
  • GitHub Check: opensuse-tumbleweed
  • GitHub Check: Network Namespace Integration Tests
  • GitHub Check: alpine-3.20
  • GitHub Check: check
  • GitHub Check: antipattern-check
  • GitHub Check: alpine-3.19
  • GitHub Check: docs
  • GitHub Check: check
  • GitHub Check: lint
  • GitHub Check: lint-workflows
  • GitHub Check: lint-workflows
🔇 Additional comments (1)
.github/workflows/mirror.yml (1)

19-22: LGTM!


📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated workflow permission declarations for the mirroring process.
    • Preserved the existing access levels for actions, repository contents, and security events.

Walkthrough

The mirror workflow moves its existing permissions block directly onto the mirror job. The permission values remain unchanged.

Changes

Mirror workflow

Layer / File(s) Summary
Job-level permission declaration
.github/workflows/mirror.yml
The mirror job declares actions: read, contents: read, and security-events: write directly on the job.

Priority: ⬇️ Low

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

Change: Bug fix

Suggested reviewers: metadatastician

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that the pull request repairs the permissions block indentation in CI. This matches the main change.
Description check ✅ Passed The description explains the invalid YAML issue, the indentation correction, the preserved permissions, and the validation performed. It directly relates to the changeset.
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.

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

A rabbit checks the workflow bright
Permissions sit in proper sight
Actions read, contents too
Security events write through
The mirror hops along just right

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

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit f2663a9 into main Sep 21, 2026
15 of 31 checks passed
@hyperpolymath
hyperpolymath deleted the fix/ci-permissions-indentation branch September 21, 2026 07:56
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