Bump gitpython from 3.1.38 to 3.1.41 #9
Workflow file for this run
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: Python File Check | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
file_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Files Included Check | |
id: file_check | |
uses: andstor/file-existence-action@v2 | |
with: | |
files: "README.md, CHANGELOG.md, pyproject.toml, tox.ini" | |
- name: Fail If Files Missing | |
if: steps.file_check.outputs.files_exists == 'false' | |
run: | | |
echo "You are missing one of the follwoing files" | |
echo "README.md, CHANGELOG.md, pyproject.toml, tox.ini" | |
echo "Please add the missing files and try again." | |
exit 1 | |
- name: README Not Empty Check | |
run: | | |
if [ -s "README.md" ]; then | |
echo "README is not empty, Joel approves." | |
else | |
echo "README is empty, this makes baby Joel cry." | |
exit 1 | |
fi |