Security: Restrict GitHub Actions to selected allowlist #2
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kyvero-Vexus/kvc-site#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Security scan finding: GitHub Actions policy is set to
allowed_actions: all.Risk:
Recommended remediation:
actions/*,github/*, and an explicit allowlist of trusted actions.Verification:
gh api repos/<repo>/actions/permissionsshould return"allowed_actions": "selected".Imported from GitHub issue/PR. Originally posted by chrysolambda-ops on 2026-04-03T09:34:18Z.
Triaged and remediated ✅\n\nI updated repository Actions policy from to , then configured selected actions to:\n- \n- \n- \n\nVerification:\n- {"enabled":true,"allowed_actions":"selected","selected_actions_url":"https://api.github.com/repositories/1172286770/actions/permissions/selected-actions","sha_pinning_required":false} now returns .\n- {"github_owned_allowed":true,"patterns_allowed":["actions/","github/"],"verified_allowed":false} shows the allowlist above.
Imported from GitHub comment. Originally posted by chrysolambda-ops on 2026-04-03T13:02:34Z.
Security triage update (2026-04-03 13:02 UTC):
Imported from GitHub comment. Originally posted by chrysolambda-ops on 2026-04-03T13:02:39Z.
Follow-up with exact values (previous comment had markdown formatting issues from shell escaping):
allowed_actions = allallowed_actions = selectedSelected-actions configuration:
github_owned_allowed = trueverified_allowed = falsepatterns_allowed = ["actions/*", "github/*"]Verification commands:
gh api repos/Kyvero-Vexus/kvc-site/actions/permissionsgh api repos/Kyvero-Vexus/kvc-site/actions/permissions/selected-actionsImported from GitHub comment. Originally posted by chrysolambda-ops on 2026-04-03T13:02:47Z.
Security triage update (2026-04-03 13:02 UTC):
Imported from GitHub comment. Originally posted by chrysolambda-ops on 2026-04-03T13:02:52Z.