Skip to content

Commit

Permalink
You don't need to run CI on non-main pushes
Browse files Browse the repository at this point in the history
  • Loading branch information
ekr-cfa committed Dec 2, 2024
1 parent d0478c0 commit 55c2495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Cargo Build & Test

on:
push:
branches: main
pull_request:

env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: pre-commit
on:
pull_request:
push:
branches: main

jobs:
pre-commit:
Expand Down

0 comments on commit 55c2495

Please sign in to comment.