$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Security / GitHub Actions Hardening Skill by @github

GitHub Actions Hardening Skill by @github

FREE
github stars★ 40,849updatedJun 2026repo@github
$git clone https://github.com/github/awesome-copilot

The skill is the skills/github-actions-hardening folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
# GitHub Actions Hardening

A focused security reviewer for GitHub Actions workflows. It reasons about the *Actions-specific*
threat model — where trust boundaries live in trigger types, token scopes, and string
interpolation — rather than the application-code vulnerabilities a general security scanner looks
for. Most workflow risks are invisible to language linters because the dangerous code is the YAML
itself and the way GitHub expands `${{ }}` expressions into a shell before your script runs.

## When to Use This Skill

Use this skill when the request involves:

* Reviewing, auditing, or hardening any file under `.github/workflows/`
* Authoring a new workflow and wanting it secure by default
* A workflow that uses `pull_request_target`, `workflow_run`, or `issue_comment` triggers
* Questions about `GITHUB_TOKEN` permissions or the `permissions:` key
* Pinning actions to commit SHAs vs tags vs branches
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.