mcpField
G
github-actions

github-actions

github.com/full-stack-skillsCloud & DevOps178 installsUpdated 4w ago
Repository

About github-actions

github-actions is a skill for writing and debugging GitHub Actions workflows, intended for developers configuring CI/CD automation. It covers triggers, jobs, steps, secrets, reusable workflows, matrix strategies, and runner environments.

Key features

  1. 01Configure triggers, jobs, and steps
  2. 02Set up secrets and matrix strategies
  3. 03Use composite actions and reusable workflows
  4. 04Configure multi-platform runners and container jobs
  5. 05Cache dependencies and manage concurrency
  6. 06Avoid exposing secrets in logs

Use cases

  1. 01Write or debug GitHub Actions YAML workflows
  2. 02Set up test, build, or deployment pipelines
  3. 03Reuse workflow steps across projects
  4. 04Run matrices across versions or platforms

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/full-stack-skills/devops-skills --skill github-actions

After installing, type/github-actionsin Claude Code to confirm it loaded.

Bundled filesagents/openai.yamlLICENSE.txt

Details

From the project README

When to use this skill

Use this skill whenever the user wants to:

  • 编写或调试 GitHub Actions 工作流(.github/workflows/*.yml)
  • 配置 trigger、jobs、steps、secrets、矩阵与复用
  • 集成 checkout、build、test、deploy、通知

How to use this skill

  1. 工作流:YAML 中定义 on、jobs、steps;用 actions/checkout、官方/第三方 action;secrets 在 Settings 中配置。
  2. 复用:composite actions、reusable workflows;矩阵策略跑多版本/多平台。
  3. 环境:runner 环境(Ubuntu/Windows/macOS);容器 job 时注意网络与挂载。

Best Practices

  • 用 secrets 存令牌与密钥;不在 log 中 echo 敏感信息。
  • 关键步骤加 id 与 outputs 便于后续步骤使用。
  • 缓存依赖(actions/cache);必要时用 concurrency 取消旧运行。

Keywords

github actions, workflow, yaml, CI/CD, 工作流, 自动化

Comments

Markdown supported