github-actions

Helps you automate tasks like testing and deploying code whenever you push changes to GitHub.

Installation
Run `npx skills add "https://github.com/full-stack-skills/devops-skills" --skill "github-actions"` to install this skill, then follow its SKILL.md instructions for my next request.

Paste this into Claude Code, Cursor, or any agent that can run commands.

What this skill does
What it does: - Helps you set up automatic tasks that run when you change code on GitHub - Lets you build, test, and publish your code without doing it by hand - Stores secret passwords and keys safely so they do not show in your work - Runs the same tasks on different types of computers like Windows, Mac, or Linux When to use it: - You want to test your code every time you save changes - You need to automatically build and publish your software - You want to send alerts or notifications when something happens - You are setting up a system to check your code for problems before it goes live
SKILL.mdShow the author's original SKILL.md (not in English)
---
name: github-actions
description: Provides comprehensive guidance for GitHub Actions including workflow creation, actions, secrets, and automation. Use when the user asks about GitHub Actions, needs to create GitHub workflows, automate GitHub processes, or configure CI/CD with GitHub Actions.
license: Apache-2.0
---
## 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, 工作流, 自动化

Ships with 2 supporting files:

  • agents/openai.yaml
  • LICENSE.txt

Mirrored from the author's public source. Install counts from the open skills registry.

The systems behind these skills get built for partners every week.

Partner with us