Skip to content

feat: use null as "nothing to do" #23

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

Conversation

boesing
Copy link
Member

@boesing boesing commented Apr 8, 2021

Q A
BC Break no
New Feature yes

Description

Currently, the matrix generation creates the command echo 'No checks discovered'.
Somehow, the .laminas-ci.json content is not merged and thus, the check fails when an extension is required to run.

Imho, there should be some kind of "early success" when there is nothing to check. Thus, neither a checkout nor composer install should be performed.

With this PR, I'd like to introduce null for the command. If null is passed (either as string or as null-type), no command is being executed and the check is considered as successful.

boesing added 2 commits April 8, 2021 13:01
Signed-off-by: Maximilian Bösing <[email protected]>
@boesing
Copy link
Member Author

boesing commented Apr 8, 2021

Will apply feedback from laminas/laminas-ci-matrix-action#26 and create a new PR.

@boesing boesing closed this Apr 8, 2021
@boesing boesing deleted the feature/use-null-command-for-nothing-to-check branch April 8, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant