Skip to content
Back to skills

Github Actions Policy

ASecurity

Use when editing GitHub Actions in private repos. Requires self-hosted runners; flags ubuntu-latest as policy drift unless explicitly approved.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
devopsgit

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill github-actions-policy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Actions Policy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Actions Policy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-github-actions-policy/badge)](https://www.skillsdirectory.com/skills/jleechanorg-github-actions-policy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-actions-policy
description: "Use when editing GitHub Actions in private repos. Requires self-hosted runners; flags ubuntu-latest as policy drift unless explicitly approved."
---

# Private repo Actions policy


For private repositories, GitHub Actions jobs must run on self-hosted runners by default to minimize runner costs (save money).

- Use the repo/org shared selector, for example: `${{ fromJson(vars.SELF_HOSTED_RUNNER_LABELS || '["self-hosted","self-hosted-mikey"]') }}`
- Do not use `ubuntu-latest` or other GitHub-hosted runners in a private repo unless the user explicitly approves a specific exception
- Treat any mixed routing pattern like "PRs on GitHub-hosted, pushes on self-hosted" as a routing decision that requires explicit user approval
- When reviewing or editing private-repo workflows, flag GitHub-hosted runner usage as policy drift unless there is documented approval

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.