We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ce255 commit be1a0b9Copy full SHA for be1a0b9
do/git.go
@@ -79,6 +79,10 @@ func verifyOnReleaseBranchMust() {
79
func isGithubMyMasterBranch() bool {
80
// https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables
81
repo := os.Getenv("GITHUB_REPOSITORY")
82
+ if repo == "" {
83
+ branch := getCurrentBranchMust(".")
84
+ return branch == "master"
85
+ }
86
if repo != "sumatrapdfreader/sumatrapdf" {
87
return false
88
}
0 commit comments