chore: Adds eslint rules in eslintrc #2975
Workflow file for this run
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: PR Label and Milestone Check | |
on: | |
pull_request: | |
types: [opened, edited, labeled, unlabeled, synchronize] | |
jobs: | |
check_pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 #v2.7.0 | |
- name: Set up Node.js | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 #v3.8.2 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm install axios | |
- name: Check PR labels and milestones | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_PR_NUMBER: ${{ github.event.number }} | |
run: node .github/scripts/check-pr.js |