Skip to content

build(deps): Bump step-security/conventional-pr-title-action from 1.0.0 to 3.2.0 #34

build(deps): Bump step-security/conventional-pr-title-action from 1.0.0 to 3.2.0

build(deps): Bump step-security/conventional-pr-title-action from 1.0.0 to 3.2.0 #34

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