Skip to content

Merge pull request #215 from DennyPerez18/patch2 #83

Merge pull request #215 from DennyPerez18/patch2

Merge pull request #215 from DennyPerez18/patch2 #83

Workflow file for this run

---
name: Validate CSV
on:
pull_request:
types:
- labeled
- unlabeled
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -r linters/requirements.txt
- run: python linters/autoformat-csv.py
- run: python linters/lint-csv.py
- run: |
git config user.name 'Jon Banafato'
git config user.email 'jonafato@users.noreply.github.com'
git diff --quiet || git commit -am "Autoformat CSV"
git push