Running Python Lint check on Pull Request from victoriatran17 π #274
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 Lint Checks | |
run-name: Running Python Lint check on Pull Request from ${{ github.actor }} π | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "main" ] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Black Code Formatter | |
uses: lgeiger/[email protected] | |
with: | |
args: ". --check" | |
- run: echo "π This job's status is ${{ job.status }}." |