Skip to content
Back to skills

Setup Github Actions

ASecurity

Creates a GitHub Actions workflow that installs with a cache, runs lint, tests and build, and uses least-privilege permissions.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
ai-agentspythongogit

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill setup-github-actions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup Github Actions?

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

Security grade badge for Setup Github Actions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-setup-github-actions-ai-agent-templates/badge)](https://www.skillsdirectory.com/skills/workspace-templates-setup-github-actions-ai-agent-templates)

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: setup-github-actions
description: Creates a GitHub Actions workflow that installs with a cache, runs lint, tests and build, and uses least-privilege permissions.
disable-model-invocation: true
---

Set up GitHub Actions CI for this project. Extra requirements: $ARGUMENTS

1. Check `.github/workflows/` for existing files. If a CI workflow exists, propose edits instead of a new file.
2. Read the manifest and scripts to find the exact commands for install, lint, typecheck, test and build. Find the language version from .nvmrc, .python-version, go.mod or the engines field, and use it.
3. Write `.github/workflows/ci.yml` triggered on pull_request and on push to the default branch. Set `permissions: contents: read` at the top, add a `concurrency` group that cancels older runs of the same branch, and set `timeout-minutes`.
4. Use the official setup action for the language with its built-in cache option, and install with the lockfile command (`npm ci`, `pip install -r`, `go mod download`).
5. Run lint and tests as separate steps so a failure shows which one broke. Upload test reports only when the project already produces them.
6. Pin third-party actions to a major version tag, or a commit SHA for non-GitHub publishers.

Show the file and list the secrets it would need (none, ideally). Ask before saving, and do not commit.

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 ai-agents →

Comments

Loading comments…

Newsletter

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