Replacing an error message 415 #13
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 package | |
on: | |
pull_request: | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- uses: isort/isort-action@master | |
with: | |
requirementsFiles: "requirements.txt requirements.dev.txt" | |
- uses: psf/black@stable | |
- name: Comment if linting failed | |
if: ${{ failure() }} | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
:poop: Code linting failed, use `black` and `isort` to fix it. | |