diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 0d48c8a..410fe31 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,7 +1,9 @@ name: Testing on Ubuntu on: - - push - - pull_request + push: + branches: + - main + pull_request: jobs: build: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8e97ac5..d3666f8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,7 +1,9 @@ name: Testing on Windows on: - - push - - pull_request + push: + branches: + - main + pull_request: jobs: build: runs-on: ${{ matrix.os }}