Merge pull request #216 from DennyPerez18/patch3 #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Validate CSV | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 --global user.name 'Jon Banafato' | |
git config --global user.email '[email protected]' | |
git diff --quiet || git commit -am "Autoformat CSV" | |
git push |