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

[RFR] fix ssc default behavior : must use base branch comparison when no optional args are provided #42

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

nm2107
Copy link
Collaborator

@nm2107 nm2107 commented Aug 30, 2024

PR 40 has introduced a change in the default behavior of ssc. When running the tool as usual, there was an error raised :

$ ssc --path <path> --cmd <stop_command>

error: a value is required for '--base-ref <BASE_REF>' but none was supplied

whereas it should use the base branch comparison by default (as we don't want people who are upgrading ssc to change their CI scripts).

This commit fixes this issue.

optional args are provided

PR [40](#40) has
introduced a change in the default behavior of ssc. When running the
tool as usual, there was an error raised :

```
$ ssc --path <path> --cmd <stop_command>

error: a value is required for '--base-ref <BASE_REF>' but none was supplied
```

whereas it should use the base branch comparison by default (as we don't
want people who are upgrading ssc to change their CI scripts).

This commit fixes this issue.
@nm2107 nm2107 requested a review from alexpozzi August 30, 2024 23:46
@nm2107 nm2107 merged commit faac9fe into master Sep 3, 2024
2 checks passed
@nm2107 nm2107 deleted the fix/ssc-default-behavior branch September 3, 2024 19:32
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 this pull request may close these issues.

2 participants