MCPInstall

github-actions

GitHub Actions workflow authoring for CI/CD pipelines. Covers workflow syntax, triggers, jobs, steps, matrix strategies, caching, artifacts, reusable workflows, composite actions, secrets management, OIDC authentication, and permissions hardening. Use when creating workflows, configuring jobs, setting up caching, or automating releases. Use for github-actions, workflow, ci, cd, actions, jobs, steps, matrix, cache, artifact, secrets, reusable-workflow.

Installs
138
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/oakoss/agent-skills --skill github-actions
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads github-actions automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

GitHub Actions

Overview

GitHub Actions is a CI/CD platform that automates build, test, and deployment pipelines directly from GitHub repositories. Workflows are YAML files in .github/workflows/ triggered by events like pushes, pull requests, schedules, or manual dispatch. Each workflow contains one or more jobs that run on GitHub-hosted or self-hosted runners.

When to use: Automated testing, continuous deployment, release automation, scheduled tasks, multi-platform builds, dependency updates, container publishing, code quality checks, security scanning.

When NOT to use: Long-running services (use a proper hosting platform), heavy compute tasks exceeding runner limits (6-hour job timeout), tasks requiring persistent state between runs (use external storage), real-time event processing (use webhooks with a server).

Quick Reference

PatternSyntax / ActionKey Points
Push triggeron: push: branches: [main]Filter by branch, path, or tag
PR triggeron: pull_request: types: [opened, synchronize]Defaults to opened, synchronize, reopened
Scheduled triggeron: schedule: - cron: '0 6 * * 1'UTC only, minimum 5-minute interval
Manual triggeron: workflow_dispatch: inputs:Define typed inputs for manual runs
Job dependenciesneeds: [build, test]Run jobs in sequence or parallel
Conditional jobif: github.ref == 'refs/heads/main'Expression-based job/step filtering
Matrix strategystrategy: matrix: node: [18, 20, 22]Generates jobs for each combination
Dependency cacheactions/cache@v5Hash-based keys with restore-keys fallback
Setup with cacheactions/setup-node@v6 with cache: 'pnpm'Built-in caching for package managers
Upload artifactactions/upload-artifact@v4Share data between jobs or preserve outputs
Download artifactactions/download-artifact@v4Retrieve artifacts from earlier jobs
Reusable workflowuses: ./.github/workflows/reusable.ymlCalled with workflow_call trigger
Composite actionaction.yml with using: compositeBundle multiple steps into one action
Concurrencyconcurrency: group: ${{ github.ref }}Cancel or queue duplicate runs
Environment secrets${{ secrets.API_KEY }}Scoped to repo, org, or environment
OIDC authenticationpermissions: id-token: writeShort-lived tokens for cloud providers
Step outputsecho "key=value" >> "$GITHUB_OUTPUT"Pass data between steps and jobs
Service containersservices: postgres: image: postgres:16Sidecar containers for integration tests
Timeouttimeout-minutes: 30Fail fast on hung jobs or steps
Attestationsactions/attest-build-provenance@v3SLSA build provenance for supply chain

Expressions and Contexts

ContextExampleDescription
githubgithub.ref_name, github.shaEvent metadata, repo info, actor
envenv.NODE_ENVEnvironment variables at current scope
secretssecrets.API_KEYEncrypted secrets (masked in logs)
inputsinputs.environmentWorkflow dispatch or reusable inputs
matrixmatrix.nodeCurrent matrix combination values
stepssteps.build.outputs.versionOutputs from previous steps
needsneeds.prepare.outputs.tagOutputs from dependent jobs
runnerrunner.os, runner.archRunner environment info
varsvars.DEPLOY_URLRepository or org configuration variables

Common Mistakes

MistakeCorrect Pattern
Using outdated action major versionsPin to current major version (@v6) or commit SHA
Missing persist-credentials: falseSet on checkout when using custom tokens or OIDC
Broad permissions at workflow levelSet permissions: {} at workflow level, grant per-job
Cache key without dependency file hashInclude hashFiles('**/pnpm-lock.yaml') in cache key
Secrets in if: conditionsSecrets cannot be used in if: expressions directly
Using pull_request_target carelesslyNever run PR code with write permissions from pull_request_target
Not cancelling stale runsUse concurrency with cancel-in-progress: true
Storing structured data as a single secretCreate individual secrets per value for proper log redaction
Referencing action tags without SHA pinningPin third-party actions to full commit SHA for supply chain safety
Hardcoding runner OS in scriptsUse runner.os context for cross-platform compatibility
Using actions/cache without restore-keysAlways provide restore-keys for partial cache matches
Interpolating user input in run: blocksPass untrusted values through env: to prevent script injection
No timeout-minutes on jobsSet explicit timeouts to fail fast on hung processes
Using always() without scopingCombine with status checks: if: always() && steps.x.outcome == 'success'

Delegation

  • Workflow debugging: Use Explore agent to inspect workflow run logs
  • Security auditing: Use Task agent to review permissions and secret usage
  • Code review: Delegate to code-reviewer agent for workflow PR reviews

References

  • Workflow syntax, triggers, jobs, steps, and concurrency
  • Caching strategies and artifact management
  • Matrix strategies, reusable workflows, and composite actions
  • Security, secrets, OIDC, and permissions hardening

FAQ

What does the github-actions skill do?

GitHub Actions workflow authoring for CI/CD pipelines. Covers workflow syntax, triggers, jobs, steps, matrix strategies, caching, artifacts, reusable workflows, composite actions, secrets management, OIDC authentication, and permissions hardening. Use when creating workflows, configuring jobs, setting up caching, or automating releases. Use for github-actions, workflow, ci, cd, actions, jobs, steps, matrix, cache, artifact, secrets, reusable-workflow.

How do I install github-actions?

Run npx skills add https://github.com/oakoss/agent-skills --skill github-actions in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/github-actions/ (personal) or .claude/skills/github-actions/ (project).

Which AI agents can use github-actions?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is github-actions safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains github-actions?

It is published by oakoss in oakoss/agent-skills. It has 138 recorded installs.

More from oakoss/agent-skills

View all →

ui-ux-polish

oakoss/agent-skills

Iterative UI/UX polishing workflow for web applications. Use when improving visual polish, refining desktop and mobile UX separately, running iterative enhancement cycles, applying design patterns like glassmorphism or bento grids, or auditing accessibility and WCAG compliance. Use for Stripe-level visual quality, responsive optimization, and design system alignment.

Frontend & Design541 installs

playwright

oakoss/agent-skills

Open the skill to read its SKILL.md instructions.

Testing & QA453 installs

coolify

oakoss/agent-skills

Coolify self-hosted PaaS for deploying applications, databases, and services via REST API and Git integration. Covers API authentication, deployment triggers, build packs (Nixpacks, Dockerfile, Compose), CI/CD with GitHub Actions webhooks, environment management, and Traefik proxy configuration. Use when deploying apps to Coolify, triggering deployments via API, configuring build packs, setting up GitHub Actions CI/CD pipelines, managing environment variables, or troubleshooting deployment failures.

DevOps & Cloud361 installs

application-security

oakoss/agent-skills

Open the skill to read its SKILL.md instructions.

Security272 installs

find-skills

oakoss/agent-skills

Discovers and installs agent skills from the open ecosystem. Enriches search results with descriptions fetched from skills.sh. Use when a user asks "how do I do X", "find a skill for X", "is there a skill that can...", or wants to extend agent capabilities. Use for skill discovery, skill search, skill install, finding tools.

AI & Agents256 installs

drizzle-orm

oakoss/agent-skills

Open the skill to read its SKILL.md instructions.

Data & Databases238 installs

Popular devops & cloud skills

View category →

microsoft-foundry

microsoft/azure-skills

Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure

OfficialDevOps & Cloud579.1K installs

azure-diagnostics

microsoft/azure-skills

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.

OfficialDevOps & Cloud569.8K installs

azure-prepare

microsoft/azure-skills

Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.

OfficialDevOps & Cloud569K installs

azure-ai

microsoft/azure-skills

Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.

OfficialDevOps & Cloud568.8K installs

azure-deploy

microsoft/azure-skills

Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.

OfficialDevOps & Cloud568.6K installs

azure-validate

microsoft/azure-skills

Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.

OfficialDevOps & Cloud568K installs