← Back to issue list

ci: Add missing permissions to QA lint workflow

View original Github issue

Metadata

Project
craft-grammar
Number
#216
Type
pull request
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

PR #216 (lengau) added explicit contents/pull-requests read permissions to the QA lint job and was approved, but the lint / files check failed; the PR was closed unmerged after ~8 days with no resolution recorded.

Resolution: closed stale

Reason: The PR was never merged: all policy, test and security checks passed but 'lint / files' remained failing, and the branch was closed unmerged with zero comments and no linked commit or superseding PR. No repository history was reachable to confirm a replacement change, so this looks abandoned rather than fixed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The QA workflow was invoking the shared lint workflow without the permissions it expects on pull request runs. This updates the lint job to explicitly grant the read access needed for repository contents and PR metadata.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale PR #216 (lengau) added explicit contents/pull-requests read permissions to the QA lint job and was approved, but the lint / files check failed; the PR was closed unmerged after ~8 days with no resolution recorded.
stealth/space-bunny-alpha — closed stale Closed unmerged without a recorded resolution; the approved change added required read permissions, but lint / files failed.
qwen/qwen3.6-35b-a3b
Impact: 15
Quick Win: 11
Complexity: 5
Confidence: 85
Actionability: 80
needs review Adds missing read permissions for contents and pull-requests to the QA workflow so the reusable lint job works on PR runs. Clean 3-line diff, CI mostly passing.

Update history

Date Change
closed
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#6438 ci: Add missing permissions to QA lint workflow snapcraft closed PR closed unmerged by lengau as redundant: the QA workflow (.github/workflows/qa.yaml) already grants workflow-level contents/pull-requests read permissions on main, so job-level permissions in the lint job were unnecessary.
93%
#1375 ci: Add missing permissions to QA lint workflow rockcraft closed PR #1375 (rockcraft) adding job-level contents/pull-requests read permissions to the QA lint workflow was closed unmerged by @lengau as redundant — the workflow's existing workflow-level permissions were already sufficient.
91%
#427 ci: Add missing permissions to QA lint workflow craft-store closed PR #427 (lengau) added job-level contents/pull-requests read permissions to craft-store's QA lint job (+3/-0). All CI checks passed but review stayed pending; closed unmerged in favour of workflow-level fix PR #428.
91%
#600 ci: Add missing permissions to QA lint workflow starbase closed PR #600 was closed unmerged despite all CI checks passing; no merge commit or recorded replacement was found.
90%
#1741 ci: Add missing permissions to QA lint workflow craft-parts closed Closed unmerged after the equivalent QA workflow permission fix landed in commit 585b7237.
89%
#256 ci: Add missing permissions to QA lint workflow craft-archives merged Job-level lint permissions PR closed as redundant by maintainer lengau: workflow-level read permissions already configured on main; superseded by merged PR #257 setting workflow-level read permissions.
88%
#193 ci: Add missing permissions to QA lint workflow debcraft closed Closed unmerged: all16 CI checks passed (incl. zizmor, lint / files, CLA) but review stayed pending (0 reviewers, 0 comments) and no merge commit or superseding change was recorded.
87%
#1191 ci: Fix QA workflow permissions for reusable lint job craft-application closed PR #1191 was approved but closed unmerged; commit 5353ad50 records its lint permission change, while lint/files and title-policy checks still failed.
87%
#257 ci: Set workflow-level read permissions for QA workflow craft-archives merged PR #257 by lengau merged as commit 7179169: moved QA workflow permissions to workflow-level read scopes (actions, contents, pull-requests) and dropped job-local lint overrides, fixing Starflow reusable workflow compilation on PRs.
81%
#446 ci: Allow QA reusable workflows to read pull request metadata imagecraft closed The QA permissions fix was approved but closed unmerged after the Conventional Commits policy check failed; no resolving commit or replacement was recorded.
80%