Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-pr-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:
on:
workflow_dispatch:
pull_request:
branches: [master, preview]
branches: [main, preview]


jobs:
Expand All @@ -23,10 +23,10 @@ jobs:
- name: Get Build Config
id: get-build-config
run: |
# If the destination branch that the pull request is merging into is the master, do a release build
if ( "${{ github.base_ref }}" -eq "master") {
# If the destination branch that the pull request is merging into is the main, do a release build
if ( "${{ github.base_ref }}" -eq "main") {
"build-config=Release" >> $env:GITHUB_OUTPUT;
} else { # Any other branch than master, do a debug build
} else { # Any other branch than main, do a debug build
"build-config=Debug" >> $env:GITHUB_OUTPUT;
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-bot-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
issues:
types: [labeled, unlabeled, assigned, unassigned, milestoned, demilestoned]
pull_request:
branches: [master, preview]
branches: [main, preview]


jobs:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-test-pr-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:
on:
workflow_dispatch:
pull_request:
branches: [master, preview]
branches: [main, preview]


jobs:
Expand All @@ -23,10 +23,10 @@ jobs:
- name: Get Build Config
id: get-build-config
run: |
# If the destination branch that the pull request is merging into is the master, do a release build
if ("${{ github.base_ref }}" -eq "master") {
# If the destination branch that the pull request is merging into is the main, do a release build
if ("${{ github.base_ref }}" -eq "main") {
"build-config=Release" >> $env:GITHUB_OUTPUT;
} else { # Any other branch than master, do a debug build
} else { # Any other branch than main, do a debug build
"build-config=Debug" >> $env:GITHUB_OUTPUT;
}

Expand Down