Skip to content

build(deps): Bump step-security/harden-runner from 2.7.0 to 2.8.1 #10

build(deps): Bump step-security/harden-runner from 2.7.0 to 2.8.1

build(deps): Bump step-security/harden-runner from 2.7.0 to 2.8.1 #10

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