Skip to content

Use GitHub App token for workflow authentication #15185

Use GitHub App token for workflow authentication

Use GitHub App token for workflow authentication #15185

name: Validate frontmatters
on:
workflow_dispatch:
pull_request:
types: [synchronize, opened]
push:
branches: [main]
jobs:
validate-frontmatters:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Run validator
working-directory: tools/frontmatter-validator
run: |
npm ci
node index.js