About workflows
워크플로는 하나 이상의 작업을 실행할 구성 가능한 자동화된 프로세스입니다. 워크플로는 리포지토리에 체크 인된 YAML 파일에서 정의되며, 리포지토리의 이벤트로 트리거될 때 실행되거나 수동으로 또는 정의된 일정에 따라 트리거될 수 있습니다.
워크플로는 리포지토리의 .github/workflows
디렉터리에 정의됩니다. 리포지토리에 다음과 같은 각각의 다른 작업 집합을 수행하는 여러 워크플로가 있을 수 있습니다.
- 끌어오기 요청을 빌드하고 테스트합니다.
- 릴리스가 생성될 때마다 애플리케이션을 배포합니다.
- 새 문제가 보고될 때마다 레이블을 추가합니다.
Workflow basics
A workflow must contain the following basic components:
- One or more events that will trigger the workflow.
- One or more jobs, each of which will execute on a runner machine and run a series of one or more steps.
- Each step can either run a script that you define or run an action, which is a reusable extension that can simplify your workflow.
For more information on these basic components, see Understanding GitHub Actions.
Workflow triggers
워크플로 트리거는 워크플로를 실행하게 하는 이벤트입니다. 해당 이벤트는 다음과 같습니다.
- 워크플로의 리포지토리에서 발생하는 이벤트
- GitHub 외부에서 발생하고 GitHub에서
repository_dispatch
이벤트를 트리거하는 이벤트 - 예약된 시간
- 설명서
예를 들어 리포지토리의 기본 분기로 푸시되거나, 릴리스가 생성되거나, 이슈가 열리면 실행되도록 워크플로를 구성할 수 있습니다.
For more information, see 워크플로 트리거.
Next steps
To build your first workflow, see Creating an example workflow.