Running Python Lint check on Pull Request from JennaXiao3 π #295
Workflow file for this run
This file contains hidden or 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/black-action@v1.0.1 | |
| with: | |
| args: ". --check" | |
| - run: echo "π This job's status is ${{ job.status }}." |