-
-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move from "master" to "main" as fallback for default repo branches #2057
Conversation
…d make it configurable
This comment was marked as off-topic.
This comment was marked as off-topic.
@@ -169,6 +169,12 @@ var flags = []cli.Flag{ | |||
Usage: "The default time in minutes for a repo in minutes before a pipeline gets killed", | |||
Value: 60, | |||
}, | |||
&cli.StringFlag{ | |||
EnvVars: []string{"WOODPECKER_DEFAULT_REPO_BRANCH"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs missing?
@6543 I don't think we need to have that fallback at all. I checked gitea, github and gitlab and they all have values for the default-branch. For bitbucket I will check how we can get that value as well. |
yes I would prefer to just relay on the forge |
Just did not do research if forges do have a change to report it empty |
-> #2065 |
… and make it configurable