Skip to content

fix(circleci-orb): support empty input parameters when e.g. running in cronjob #838

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

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

devversion
Copy link
Member

CircleCI cronjobs do not have the base revision or revision pipeline variables, so they may be empty. To avoid using empty variables which would then cause errors in our shared command- we support the empty string fallback. The command will be a noop anyway since we check for these variables in the actual script.

See: https://app.circleci.com/pipelines/github/angular/components/44462.

devversion added a commit to devversion/material2 that referenced this pull request Sep 23, 2022
devversion added a commit to devversion/material2 that referenced this pull request Sep 23, 2022
devversion added a commit to angular/components that referenced this pull request Sep 23, 2022
devversion added a commit to angular/components that referenced this pull request Sep 23, 2022
…n cronjob

CircleCI cronjobs do not have the base revision or revision pipeline
variables, so they may be empty. To avoid using empty variables which
would then cause errors in our shared command- we support the empty
string fallback. The command will be a noop anyway since we check for
these variables in the actual script.

See: https://app.circleci.com/pipelines/github/angular/components/44462.
@devversion devversion force-pushed the fix-rebase-orb-action branch from b5b0159 to 8cb3011 Compare September 23, 2022 16:23
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devversion devversion merged commit 16a0ad3 into angular:main Sep 23, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants