Skip to content

Commit 9c75e71

Browse files
committed
Update branch reference from "master" to "main" in code
1 parent 4444bb5 commit 9c75e71

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [main, master, develop, dev]
16+
branches: [main, dev*]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [develop, dev]
19+
branches: [dev*]
2020
schedule:
2121
- cron: "26 13 * * 6"
2222

.github/workflows/lint-and-build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
push:
1212
branches:
1313
- main
14-
- master
1514
- dev*
1615
paths:
1716
- "**.py"
@@ -21,7 +20,6 @@ on:
2120
pull_request:
2221
branches:
2322
- main
24-
- master
2523
- dev*
2624
paths:
2725
- "**.py"

.github/workflows/printenv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
type: boolean
1111
push:
1212
branches:
13-
- master
13+
- main
1414
- dev
1515

1616
env:

scripts/compile_resources.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Write-Host 'Generated code from .ui files'
1919

2020
$build_vars_path = "$PSScriptRoot/../src/gen/build_vars.py"
2121
If ($Env:GITHUB_EXCLUDE_BUILD_NUMBER -eq $true -or (
22-
$Env:GITHUB_EVENT_NAME -eq 'push' -and $Env:GITHUB_REF_NAME -eq 'master')
22+
$Env:GITHUB_EVENT_NAME -eq 'push' -and $Env:GITHUB_REF_NAME -eq 'main')
2323
) {
2424
$BUILD_NUMBER = ''
2525
}

src/menu_bar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def open_update_checker(autosplit: "AutoSplit", latest_version: str, *, check_on
116116

117117

118118
def view_help():
119-
webbrowser.open(f"https://github.com/{GITHUB_REPOSITORY}/blob/master/docs/tutorial.md")
119+
webbrowser.open(f"https://github.com/{GITHUB_REPOSITORY}/blob/main/docs/tutorial.md")
120120

121121

122122
class __CheckForUpdatesThread(QtCore.QThread): # noqa: N801 # Private class

0 commit comments

Comments
 (0)