Contrast Workflow

This commit is contained in:
Seth Cottle
2025-03-17 18:32:07 -04:00
parent 24b374f557
commit a13ec80c62
2 changed files with 261 additions and 0 deletions

22
.github/contrast-check.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: "Contrast Check"
on:
pull_request:
paths:
- 'css/brands.css'
jobs:
contrast-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch main branch
run: git fetch origin main:main
- name: Run Contrast Check
run: |
chmod +x ./scripts/audit-contrast.sh
./scripts/audit-contrast.sh