Merge pull request #229 from python-organizers/pycon-namibia-cfp #20
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: Format CSVs | |
on: | |
push: | |
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/format.py | |
- run: python linters/validate.py | |
- run: | | |
git config user.name 'Jon Banafato' | |
git config user.email '[email protected]' | |
git diff --quiet || git commit -am "Autoformat CSVs" | |
git push |