Skip to content

build(deps): Bump actions/download-artifact from 3.0.2 to 4.1.8 #26

build(deps): Bump actions/download-artifact from 3.0.2 to 4.1.8

build(deps): Bump actions/download-artifact from 3.0.2 to 4.1.8 #26

name: PR Label and Milestone Check
on:
pull_request:
types: [opened, edited, labeled, unlabeled, synchronize]
jobs:
check_pr:
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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