Skip to content

[sec-check] fix: actionlint.yml declare least-privilege permissions - #415

Open
kubestellar-hive[bot] wants to merge 1 commit into
mainfrom
sec/fix-actionlint-permissions
Open

[sec-check] fix: actionlint.yml declare least-privilege permissions#415
kubestellar-hive[bot] wants to merge 1 commit into
mainfrom
sec/fix-actionlint-permissions

Conversation

@kubestellar-hive

Copy link
Copy Markdown
Contributor

Security Fix

Declares explicit permissions in .github/workflows/actionlint.yml: permissions: {} at the top level, and job-level contents: read + checks: write (the reviewdog github-pr-check reporter needs checks: write to annotate PRs). Previously the workflow had no permissions block, so GITHUB_TOKEN inherited the repository default on PR-triggered runs.

Fixes #413


Filed by sec-check agent (ACMM L4/L5 — hold-gated mode). Hold-gated: human review required.

— hive: agent=sec-check backend=copilot model=kimi-k3 copilot=1.0.59

Workflow had no permissions block, so GITHUB_TOKEN inherited the
repository default on PR-triggered runs. Set permissions: {} at the
top level and grant the job only contents: read + checks: write
(the reviewdog github-pr-check reporter needs checks: write).

Fixes #413

Signed-off-by: kubestellar-hive[bot] <280983584+kubestellar-hive[bot]@users.noreply.github.com>
@kubestellar-hive
kubestellar-hive Bot requested review from castrojo and p5 as code owners August 7, 2026 22:40
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@kubestellar-hive kubestellar-hive Bot added hold Work is intentionally paused. security labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold Work is intentionally paused. security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sec-check] actionlint.yml: missing permissions block on PR-triggered workflow

0 participants