solved 계단오르기 - 0ms 2020kb #199
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: Label PR based on file extensions | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' # 최신 LTS 버전으로 설정 (현재 LTS 버전: 18) | |
- name: Install dependencies | |
run: npm install @actions/core @actions/github | |
- name: Run custom script | |
run: node .github/scripts/label-pr.js | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |