Skip to content

build(deps): Bump step-security/publish-unit-test-result-action from 2.17.0 to 2.18.0 #591

build(deps): Bump step-security/publish-unit-test-result-action from 2.17.0 to 2.18.0

build(deps): Bump step-security/publish-unit-test-result-action from 2.17.0 to 2.18.0 #591

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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
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