Skip to content

Commit

Permalink
Run black only on main branch or pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
thegamecracks authored Dec 1, 2022
1 parent e0a53d3 commit fbb3174
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: Lint
name: Style Lint

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
lint:
formatter:
name: Run black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit fbb3174

Please sign in to comment.