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

[Question] Why is my "auto shipit" running as canary in CI? #2339

Open
tlkiong opened this issue Mar 13, 2023 · 4 comments
Open

[Question] Why is my "auto shipit" running as canary in CI? #2339

tlkiong opened this issue Mar 13, 2023 · 4 comments

Comments

@tlkiong
Copy link

tlkiong commented Mar 13, 2023

I ran auto shipit as part of a series of actions in github actions. At this point, I see the below:
image

However, when I trigger the release action that runs this command manually, all runs as expected (not canary).


So, my question is, how is auto deciding whether to use canary or not?

@tlkiong
Copy link
Author

tlkiong commented Mar 13, 2023

Upon explicitly setting branch to main in github actions, I then get this error
image

Looking at the source code, is there any way to debug the error here?

@hipstersmoothie
Copy link
Collaborator

Could you run yarn auto shipit -vv

@tlkiong
Copy link
Author

tlkiong commented Mar 14, 2023

@hipstersmoothie
image

It's weird I see branch: undefined when the previous direct command shows it is main when running git status

*yarn auto:debug is yarn auto shipit -vv

@hipstersmoothie
Copy link
Collaborator

could you post more of your action yaml?

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

No branches or pull requests

2 participants