Skip to content

Commit

Permalink
Run black linter on pull requests (#543)
Browse files Browse the repository at this point in the history
The black linter was only being run on pushes to main and not on opened PRs. We should run on both to avoid linting errors after a PR is merged.
  • Loading branch information
DonnchaC authored Sep 30, 2024
1 parent 617c5d9 commit d79f6cb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Black
on: [push]

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

jobs:
black:
Expand Down

0 comments on commit d79f6cb

Please sign in to comment.