Skip to content
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

Main branch is not detected correctly #182

Closed
utkuozdemir opened this issue Nov 1, 2022 · 0 comments · Fixed by #183
Closed

Main branch is not detected correctly #182

utkuozdemir opened this issue Nov 1, 2022 · 0 comments · Fixed by #183
Assignees

Comments

@utkuozdemir
Copy link
Member

utkuozdemir commented Nov 1, 2022

In a forked repository:

  • add a new upstream to point to the original repo: git remote add upstream git@github.com:siderolabs/...
  • set the upstream of the main branch to be upstream: git branch --set-upstream-to=upstream/main main
  • create a new branch: git checkout -b foo
  • rekres: make rekres
  • check the changes in .drone.yml:
# ...
  when:
    branch:
    - foo
# ...

We should make kres smarter on detecting the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant