jobs:
codeformat:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Check-out
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Poetry install
uses: wintero92/poetry-install-action@v1
- name: Black
uses: wintero92/black-action@v1
See action.yaml for possible inputs.