Skip to content

Commit

Permalink
Update workflows to trigger for main (#15310)
Browse files Browse the repository at this point in the history
Preparation for #13985 to make the transition from `master` to `main` as
seamless as possible.
This PR can be merged as is preferably before the branch is renamed to
avoid issues.
  • Loading branch information
cdce8p authored May 30, 2023
1 parent a568f3a commit 85e6719
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Trigger wheel build

on:
push:
branches: [master, 'release*']
branches: [main, master, 'release*']
tags: ['*']

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check documentation build
on:
workflow_dispatch:
push:
branches: [master, 'release*']
branches: [main, master, 'release*']
tags: ['*']
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tests
on:
workflow_dispatch:
push:
branches: [master, 'release*']
branches: [main, master, 'release*']
tags: ['*']
pull_request:
paths-ignore:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_stubgenc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 85e6719

Please sign in to comment.