diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index ce23fef..e1e3dee 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -2,6 +2,7 @@ name: Cargo Build & Test on: push: + branches: main pull_request: env: diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index d64ed8e..aee8d25 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -3,6 +3,7 @@ name: pre-commit on: pull_request: push: + branches: main jobs: pre-commit: