ci: Set workflow-level read permissions for QA workflow
Metadata
Current evaluation
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.
Resolution: closed resolved
Reason: The PR was merged into main as commit 7179169 ("ci: set workflow-level read permissions for QA workflow (#257)"), replacing the job-level permissions added earlier in f60b89a (#256). All 25 CI checks including zizmor and the GitHub Actions security audit passed.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | 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. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged the QA permissions update, adding workflow-level read access for actions, contents, and pull requests and removing lint job overrides to fix Starflow workflow compilation. | |
| stealth/space-bunny-alpha | — | closed stale | Closed after QA workflow permissions were consolidated to workflow-level read access; CI was green, but the supplied PR record contains no merge, commit, or maintainer explanation. |
Update history
| Date | Change |
|---|---|
| updated | |
| closed | |
| created |
Related work
-
Superseded By:
canonical/craft-archives#256
(confidence 88%)
Preceding commit f60b89a added job-local lint permissions; #257 removed those in favour of workflow-level read permissions.
-
Related To:
craft-archives#557
(confidence 55%)
Earlier commit cd8d487 'ci: set read permissions for qa workflow' shows the same Starflow permissions pattern; #257 aligns to the current read-only scopes.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #194 ci: Set workflow-level read permissions for QA workflow | debcraft | merged | PR #194 merged: added workflow-level read permissions (actions, contents, pull-requests) to .github/workflows/qa.yaml and removed lint job-level overrides, fixing Starflow reusable workflow compilation on PRs. | |
| #428 ci: Set workflow-level read permissions for QA workflow | craft-store | merged | Merged as commit 4aabe63: .github/workflows/qa.yaml now sets workflow-level read permissions (actions, contents, pull-requests) and drops job-local lint overrides, fixing Starflow QA workflow failures on PRs. | |
| #94 ci: Set workflow-level read permissions for QA workflow | craft-artifacts | merged | Merged PR #94 as df2d092, adding workflow-level read permissions for actions, contents, and pull requests so QA's Starflow reusable workflows can access required metadata. | |
| #487 ci: Set workflow-level read permissions for QA workflow | craft-cli | merged | PR #487 merged: added workflow-level read permissions (actions, contents, pull-requests) to .github/workflows/qa.yaml so canonical/starflow reusable workflows compile; approved with all CI checks green (+5/-0 lines, 1 file). | |
| #1016 ci: Set workflow-level read permissions for QA workflow | craft-providers | merged | Merged to main via commit a533e67 "ci: Add missing permissions to QA workflow (#1016)", adding workflow-level read permissions (actions, contents, pull-requests) to .github/workflows/qa.yaml. | |
| #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. | |
| #557 ci: set read permissions for qa workflow | starbase | merged | Merged PR #557 as commit cd8d487, granting the QA workflow read-only contents and pull-request permissions so paths-filter can access GitHub APIs. | |
| #1371 ci: add explicit permissions on QA workflow | rockcraft | closed | Merged explicit read permissions for actions, contents, and pull requests into the QA workflow in commit 559eb218, enabling Starflow path-filter jobs. | |
| #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. | |
| #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. |