Skip to content

Commit

Permalink
Update branch reference from "master" to "main" in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Feb 2, 2025
1 parent 4444bb5 commit 36e606e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [main, master, develop, dev]
branches: [main, dev*]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop, dev]
branches: [dev*]
schedule:
- cron: "26 13 * * 6"

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
push:
branches:
- main
- master
- dev*
paths:
- "**.py"
Expand All @@ -21,7 +20,6 @@ on:
pull_request:
branches:
- main
- master
- dev*
paths:
- "**.py"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/printenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
type: boolean
push:
branches:
- master
- main
- dev

env:
Expand Down
2 changes: 1 addition & 1 deletion scripts/compile_resources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Write-Host 'Generated code from .ui files'

$build_vars_path = "$PSScriptRoot/../src/gen/build_vars.py"
If ($Env:GITHUB_EXCLUDE_BUILD_NUMBER -eq $true -or (
$Env:GITHUB_EVENT_NAME -eq 'push' -and $Env:GITHUB_REF_NAME -eq 'master')
$Env:GITHUB_EVENT_NAME -eq 'push' -and $Env:GITHUB_REF_NAME -eq 'main')
) {
$BUILD_NUMBER = ''
}
Expand Down
2 changes: 1 addition & 1 deletion src/menu_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def open_update_checker(autosplit: "AutoSplit", latest_version: str, *, check_on


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


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

0 comments on commit 36e606e

Please sign in to comment.