Skip to content

build(deps): Bump actions/checkout from 4.2.1 to 4.2.2 #486

build(deps): Bump actions/checkout from 4.2.1 to 4.2.2

build(deps): Bump actions/checkout from 4.2.1 to 4.2.2 #486

name: PR Label and Milestone Check
on:
pull_request:
types: [opened, edited, labeled, unlabeled, synchronize]
jobs:
check_pr:
runs-on: smart-contracts-linux-medium
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
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