build(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0 in /tools/golang-example #3562
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
with: | |
egress-policy: audit | |
- name: Checkout code | |
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 #v2.7.0 | |
- name: Set up Node.js | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 #v3.8.2 | |
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 |