Skip to content

Commit

Permalink
ci: Do not run on branches other than main
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo committed Sep 18, 2024
1 parent 97b3c39 commit 1e198e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Pre-commit
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Run unit tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:

jobs:
Expand Down

0 comments on commit 1e198e8

Please # to comment.