Skip to content

Update GitHub workflows #1

Update GitHub workflows

Update GitHub workflows #1

name: "Validate GitHub Action pinning"
on:
pull_request:
paths:
- ".github/workflows/**"
push:
branches:
- "0.[0-9][0-9]"
paths:
- ".github/workflows/**"
permissions:
contents: "read"
jobs:
enforce-pinning:
name: "Enforce commit SHA pinning"
runs-on: "ubuntu-latest"
steps:
- name: "Check out repository"
uses: "actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8" # v5.0.0
- name: "Ensure SHA-pinned Actions"
uses: "zgosalvez/github-actions-ensure-sha-pinned-actions@9e9574ef04ea69da568d6249bd69539ccc704e74" # v4.0.0