Skip to content

setup(ci): update + clean #48

setup(ci): update + clean

setup(ci): update + clean #48

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# For more information see: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow
name: Workflow Quality
on:
push:
branches: ["*"]
paths:
- ".github/workflows/*.yml"
- ".github/scripts/*"
pull_request:
branches: ["*"]
paths:
- ".github/workflows/*.yml"
- ".github/scripts/*"
types:
- opened
- ready_for_review
- reopened
- synchronize
permissions:
contents: read
jobs:
run-workflow-script-tests:
name: Test scripts
runs-on: ubuntu-slim
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
with:
egress-policy: audit
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
show-progress: false
- run: node --test ./github/scripts/*.test.ts