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

Checkout parameter of publish job is not used. #211

Open
eddiewebb opened this issue Jun 12, 2023 · 3 comments
Open

Checkout parameter of publish job is not used. #211

eddiewebb opened this issue Jun 12, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@eddiewebb
Copy link
Contributor

Orb version:

12.0.3

What happened:

While supporting client and looking at means to inject custom logic I noticed the publish job will optinoally attach workspace and then publish, but unlike review/pack jobs never runs checkout, regardless of parameter (step does not exist)

Expected behavior:

Remove parameter or use it in a conditional checkout step.

Additional Information:

@eddiewebb eddiewebb added the bug Something isn't working label Jun 12, 2023
@kelvintaywl
Copy link
Contributor

the checkout (bool) parameter is part of the publish job indeed:

checkout:
type: boolean
default: true
description: |
If you do not wish to checkout the source code, you may disable this behavior. Replace the checkout and add your own command or steps via the 'pre-steps' parameter in your workflow.

however, there is no actual conditional step to checkout based on this parameter (i.e., the parameter is not used)

@KyleTryon
Copy link
Contributor

Thanks folks, ill take a look at this shortly.

@KyleTryon KyleTryon self-assigned this Jul 20, 2023
@jtatarik
Copy link

jtatarik commented Oct 5, 2023

This issue is still present in 12.0.4. Have to work around it by adding explicit checkout pre-step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants