Skip to content

Disable Matrix Validation for non Matrix Pipelines #1501

Disable Matrix Validation for non Matrix Pipelines

Disable Matrix Validation for non Matrix Pipelines #1501

Workflow file for this run

name: 'woke'
permissions:
contents: read
on:
- pull_request
jobs:
woke:
name: 'woke'
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- name: 'Checkout'
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@03334d095e2739fa9ac4034ec16f66d5d01e9eba # v44.5.1
with:
write_output_files: true
files: |
**
- name: 'woke'
if: steps.changed-files.outputs.any_changed == 'true'
uses: get-woke/woke-action@b2ec032c4a2c912142b38a6a453ad62017813ed0 # v0
with:
# Cause the check to fail on any broke rules
fail-on-error: true
woke-args: ${{ steps.changed_files.outputs.all_changed_files }}