4μ₯ μ΄μ νκ²½μ κ³ λ €ν μ½λ μμ± #8
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 }} |