diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7edfa03584c1..da140375d603 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -2,7 +2,7 @@ name: Trigger wheel build on: push: - branches: [master, 'release*'] + branches: [main, master, 'release*'] tags: ['*'] jobs: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a3294c08a79c..8851f7fbb0f3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,7 +3,7 @@ name: Check documentation build on: workflow_dispatch: push: - branches: [master, 'release*'] + branches: [main, master, 'release*'] tags: ['*'] pull_request: paths: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35eea0ade2f1..81587f3ca747 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: Tests on: workflow_dispatch: push: - branches: [master, 'release*'] + branches: [main, master, 'release*'] tags: ['*'] pull_request: paths-ignore: diff --git a/.github/workflows/test_stubgenc.yml b/.github/workflows/test_stubgenc.yml index b48031e5c18f..db9bf413faa3 100644 --- a/.github/workflows/test_stubgenc.yml +++ b/.github/workflows/test_stubgenc.yml @@ -3,7 +3,7 @@ name: Test stubgenc on pybind11-mypy-demo on: workflow_dispatch: push: - branches: [master, 'release*'] + branches: [main, master, 'release*'] tags: ['*'] pull_request: paths: