참고 항목
- 이제 새로운 프로젝트 환경인 Projects를 사용할 수 있습니다. Projects에 대한 자세한 내용은 Projects 정보을(를) 참조하세요.
- 조직, 리포지토리, 또는 이미 하나 이상의 프로젝트(클래식)이(가) 있는 사용자자에 대해서만 신규 프로젝트(클래식)을(를) 만들 수 있습니다. 프로젝트(클래식)을(를) 만들 수 없는 경우, 대신 프로젝트를 만듭니다.
참고 항목
GitHub 호스트 실행기는 현재 GitHub Enterprise Server에서 지원되지 않습니다. GitHub public roadmap에 예정된 향후 지원에 대해 자세히 알아볼 수 있습니다.
Introduction
This tutorial demonstrates how to use the alex-page/github-project-automation-plus
action to automatically move an issue to a specific column on a 프로젝트(클래식) when the issue is assigned. For example, when an issue is assigned, you can move it into the In Progress
column your 프로젝트(클래식).
In the tutorial, you will first make a workflow file that uses the alex-page/github-project-automation-plus
action. Then, you will customize the workflow to suit your needs.
Creating the workflow
-
이 프로젝트 관리 워크플로를 적용할 리포지토리를 선택합니다. 쓰기 권한이 있는 기존 리포지토리를 사용하거나 새 리포지토리를 만들 수 있습니다. 리포지토리 만들기에 대한 자세한 내용은 새 리포지토리 만들기을(를) 참조하세요.
-
In your repository, choose a 프로젝트(클래식). You can use an existing project, or you can create a new project. For more information about creating a project, see project (classic) 만들기.
-
리포지토리에서
YOUR_WORKFLOW
를 선택한 이름으로 바꾸는.github/workflows/YOUR_WORKFLOW.yml
파일을 만듭니다. 워크플로 파일입니다. GitHub에서 새 파일을 만드는 방법에 대한 자세한 내용은 새 파일 만들기을(를) 참조하세요. -
Copy the following YAML contents into your workflow file.
YAML # 이 워크플로는 GitHub에서 인증되지 않은 작업을 사용합니다. # 작업은 타사에서 제공하며 # 별도의 서비스 약관, 개인정보처리방침, 지원 설명서에서 규정됩니다. # 참조하세요. # 커밋 SHA에 작업을 고정하는 것이 좋습니다. # 최신 버전을 얻으려면 SHA를 업데이트해야 합니다. # 태그 또는 분기를 참조할 수도 있지만 경고 없이 작업이 변경될 수 있습니다. name: Move assigned card on: issues: types: - assigned jobs: move-assigned-card: runs-on: ubuntu-latest steps: - uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43 with: project: Docs Work column: In Progress repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
# 이 워크플로는 GitHub에서 인증되지 않은 작업을 사용합니다. # 작업은 타사에서 제공하며 # 별도의 서비스 약관, 개인정보처리방침, 지원 설명서에서 규정됩니다. # 참조하세요. # 커밋 SHA에 작업을 고정하는 것이 좋습니다. # 최신 버전을 얻으려면 SHA를 업데이트해야 합니다. # 태그 또는 분기를 참조할 수도 있지만 경고 없이 작업이 변경될 수 있습니다. name: Move assigned card on: issues: types: - assigned jobs: move-assigned-card: runs-on: ubuntu-latest steps: - uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43 with: project: Docs Work column: In Progress repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
-
Customize the parameters in your workflow file:
- Change the value for
project
to the name of your 프로젝트(클래식). If you have multiple 프로젝트(클래식) with the same name, thealex-page/github-project-automation-plus
action will act on all projects with the specified name. - Change the value for
column
to the name of the column where you want issues to move when they are assigned. - Change the value for
repo-token
:- Create a personal access token (classic) with the
repo
scope. For more information, see 개인용 액세스 토큰 관리. - Store this personal access token as a secret in your repository. For more information about storing secrets, see Using secrets in GitHub Actions.
- In your workflow file, replace
PERSONAL_ACCESS_TOKEN
with the name of your secret.
- Create a personal access token (classic) with the
- Change the value for
-
워크플로 파일을 리포지토리의 기본 분기에 커밋합니다. 자세한 내용은 새 파일 만들기을(를) 참조하세요.
Testing the workflow
Whenever an issue in your repository is assigned, the issue will be moved to the specified 프로젝트(클래식) column. If the issue is not already on the 프로젝트(클래식), it will be added to the 프로젝트(클래식).
If your repository is user-owned, the alex-page/github-project-automation-plus
action will act on all projects in your repository or personal account that have the specified project name and column. Likewise, if your repository is organization-owned, the action will act on all projects in your repository or organization that have the specified project name and column.
Test your workflow by assigning an issue in your repository.
- Open an issue in your repository. For more information, see 문제 만들기.
- Assign the issue. For more information, see 다른 GitHub 사용자에게 문제 할당 및 끌어오기 요청.
- To see the workflow run that assigning the issue triggered, view the history of your workflow runs. For more information, see Viewing workflow run history.
- When the workflow completes, the issue that you assigned should be added to the specified 프로젝트(클래식) column.
Next steps
- To learn more about additional things you can do with the
alex-page/github-project-automation-plus
action, like deleting or archiving project cards, visit thealex-page/github-project-automation-plus
action documentation.