Skip to content

6장 테스트! 개발자의 든든한 지원군 #10

6장 테스트! 개발자의 든든한 지원군

6장 테스트! 개발자의 든든한 지원군 #10

Workflow file for this run

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 }}