본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #4745

github-actions-templates

하는 일

이 도구는 GitHub에서 소프트웨어 프로젝트의 테스트, 빌드, 배포 같은 작업을 자동화하는 실전용 템플릿을 만드는 데 도움을 줍니다. 이를 설정하는 예시를 제공합니다.

사용하는 경우

  • ✓코드 테스트를 자동화하고 싶을 때.
  • ✓프로젝트를 빌드하거나 배포할 준비를 할 때.
  • ✓승인된 배포 워크플로를 설정할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-templates/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-templates/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 Node.js 프로젝트를 테스트하기 위한 워크플로 템플릿을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 맞춤 설정할 수 있는 코드 예시('워크플로')를 제공합니다. 이 예시는 GitHub가 테스트 같은 특정 명령을 프로젝트에서 자동으로 실행하는 방법을 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

GitHub Actions Workflow Patterns

When to Use

Implement testing, matrix builds, artifact preparation or an explicitly authorized deployment workflow for an existing repository.

Inputs

Inspect the repository's actual scripts, lockfile, supported runtimes, required check names and release policy. Read resources/implementation-playbook.md and references/common-workflows.md before choosing job boundaries.

Test Workflow

This Node example assumes the target repository declares npm test and supports Node 22. Adapt the runtime and command to the actual project. The pinned action revisions are explicit review inputs; verify them before adopting or updating the template.

name: Test
on:
  pull_request:
  push:
    branches: [main]
permissions:
  contents: read
jobs:
  test:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
        with:
          persist-credentials: false
      - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
        with:
          node-version: '22'
          cache: npm
      - run: npm ci
      - run: npm test

Matrix Builds

Add a matrix only for versions and operating systems the project supports. Keep dependencies reproducible, identify failing combinations, and avoid hiding failures with blanket continue-on-error. Test required-check behavior when jobs are conditionally skipped.

Build and Publication

Build an artifact from the tested commit and record its identity. Publication needs a separate trusted job with the minimum registry permission. Do not publish artifacts produced by arbitrary untrusted code in a privileged context; bind accepted artifacts to their exact source and producing workflow.

Deployment

Use the project's protected release path. Identify the immutable artifact, destination, workload identity, rollout and rollback checks before adding deployment commands. A named GitHub environment does not configure reviewers automatically. Verify its actual protections. Do not label a placeholder echo command as a successful deployment.

Verification

Exercise one passing change and one deliberate test failure on a topic branch. Confirm the failing check prevents downstream publication. Inspect tokens, runner isolation, caches and artifact boundaries. Keep production credentials absent from untrusted validation jobs.

Example

A project needs Linux and Windows tests. Select its supported runtime, add the two runner combinations and confirm that either failure blocks the required result. Prepare publication separately; do not add registry credentials to the matrix.

Limitations

This skill supplies patterns, not an installed deployment program. Repository policy, runner trust and environment settings must be inspected. Review every third-party action at its full commit SHA and treat logs and uploaded artifacts as possible data-exposure paths.

Sources

자주 묻는 질문

GitHub Actions '워크플로'란 무엇인가요?

변경 사항을 푸시하는 등 특정 이벤트가 발생할 때 GitHub에 테스트 실행이나 코드 배포 같은 작업을 알려 주는 설정 파일입니다.

모든 프로젝트에 사용할 수 있나요?

템플릿은 GitHub의 프로젝트를 위한 것입니다. 프로젝트 유형과 사용하는 도구에 맞게 수정해야 합니다.

이 도구가 제 코드를 자동으로 배포하나요?

배포용 템플릿을 제공하지만, 이 작업을 신중하게 설정하고 승인해서 신뢰할 수 있는 결과물만 배포되도록 해야 합니다.

상세 정보

작성자의 원본 설명

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

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4745
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬