wshobson/agents✦ 精选0°

github-actions-templates

仓库创建 2025年7月25日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

快速产出可复用工作流模板,提升仓库自动化效率。

▸ 风险提示

生成的 workflow 可能需要写权限或访问仓库 secrets,注意权限审查。

这个 Skill 做什么

生成可用于测试、构建与部署的生产级 GitHub Actions 工作流。

生成可上生产的 GitHub Actions 工作流,帮你自动化测试、构建和部署,适合搭建 CI/CD、构建 Docker 镜像或部署到 Kubernetes 时使用。输出遵循安全和可复用的最佳实践,能直接作为项目模板投入运行。

▸ 展开 SKILL.md 英文原文

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

开发编程GitHub ActionsCI/CD工作流模板通用
3.8w
Stars
4.1k
Forks
40
仓库内 Skill
+683
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/wshobson/agents/main/plugins/cicd-automation/skills/github-actions-templates/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/wshobson/agents/main/plugins/cicd-automation/skills/github-actions-templates/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# GitHub Actions Templates

Production-ready GitHub Actions workflow patterns for testing, building, and deploying applications.

## Purpose

Create efficient, secure GitHub Actions workflows for continuous integration and deployment across various tech stacks.

## When to Use

- Automate testing and deployment
- Build Docker images and push to registries
- Deploy to Kubernetes clusters
- Run security scans
- Implement matrix builds for multiple environments

## Common Workflow Patterns

### Pattern 1: Test Workflow

```yaml
name: Test

on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
       
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有