11장 소프트웨어 수명주기 관점의 진화하는 아키텍처 구현 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Labeler | |
on: | |
issues: | |
types: | |
- opened | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
add-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up GitHub CLI | |
uses: actions/checkout@v2 | |
- name: Authenticate with GitHub CLI | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh auth setup-git | |
- name: Add labels to issue | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh issue edit ${{ github.event.issue.number }} --add-label "2024" | |
- name: Add assignees to issue | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh issue edit ${{ github.event.issue.number }} --add-assignee ${{ github.event.issue.user.login }} |