77 - ' *no-ci*'
88 push :
99 branches :
10- - master
10+ - main
1111 workflow_dispatch :
1212 inputs :
1313 ansys_version :
@@ -145,7 +145,7 @@ jobs:
145145 secrets : inherit
146146
147147 docs :
148- if : github.event.action != 'closed' && (startsWith(github.head_ref, 'master ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
148+ if : github.event.action != 'closed' && (startsWith(github.head_ref, 'main ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
149149 uses : ./.github/workflows/docs.yml
150150 needs : pick_server_suffix
151151 with :
@@ -173,7 +173,7 @@ jobs:
173173
174174 upload-development-docs :
175175 runs-on : ubuntu-latest
176- if : ${{ github.event.action != 'closed' && (github.ref == 'refs/heads/master ' && github.event_name == 'push') }}
176+ if : ${{ github.event.action != 'closed' && (github.ref == 'refs/heads/main ' && github.event_name == 'push') }}
177177 needs : [docs]
178178 steps :
179179 - name : " Upload development documentation"
@@ -187,7 +187,7 @@ jobs:
187187 bot-email : ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
188188
189189 examples :
190- if : github.event.action != 'closed' && (startsWith(github.head_ref, 'master ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
190+ if : github.event.action != 'closed' && (startsWith(github.head_ref, 'main ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
191191 uses : ./.github/workflows/examples.yml
192192 needs : pick_server_suffix
193193 with :
@@ -198,19 +198,19 @@ jobs:
198198
199199 pydpf-post :
200200 name : " PyDPF-Post"
201- if : github.event.action != 'closed' && (startsWith(github.head_ref, 'master ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
201+ if : github.event.action != 'closed' && (startsWith(github.head_ref, 'main ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
202202 uses : ./.github/workflows/pydpf-post.yml
203203 needs : pick_server_suffix
204204 with :
205205 ANSYS_VERSION : ${{ inputs.ansys_version || vars.ANSYS_VERSION_DEFAULT }}
206- post_branch : " master "
206+ post_branch : " main "
207207 standalone_suffix : ${{needs.pick_server_suffix.outputs.suffix}}
208208 test_docstrings : " true"
209209 secrets : inherit
210210
211211 tests-retro :
212212 name : " Test DPF ${{ matrix.dpf.version }} compatibility"
213- if : github.event.action != 'closed' && (startsWith(github.head_ref, 'master ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
213+ if : github.event.action != 'closed' && (startsWith(github.head_ref, 'main ') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft)
214214 strategy :
215215 fail-fast : false
216216 matrix :
0 commit comments