Skip to content

Conversation

@jmatsu
Copy link
Contributor

@jmatsu jmatsu commented Mar 17, 2023

Close #171

Don't allow a situation that an app owner name is not available but an api token is provided.

This includes a bug fix related to a response file.

ss 2023-03-17 at 10 20 22

jmatsu and others added 2 commits March 17, 2023 10:40
…pec.groovy

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…pec.groovy

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jmatsu jmatsu requested a review from satsukies March 17, 2023 01:50
@satsukies satsukies mentioned this pull request Mar 17, 2023
Copy link
Member

@satsukies satsukies left a comment

Choose a reason for hiding this comment

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

LGTM. Good catch 👍

return;
}

if (!credentials.getAppOwnerName().isPresent() && credentials.getApiToken().isPresent()) {
Copy link
Member

Choose a reason for hiding this comment

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

👍

@jmatsu
Copy link
Contributor Author

jmatsu commented Mar 17, 2023

Thank you so much~

@jmatsu jmatsu merged commit 4710756 into master Mar 17, 2023
@jmatsu jmatsu deleted the fix/fallback_on_missing_credential branch March 17, 2023 02:01
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.

It must fail if api token is found but app owner name is not found

3 participants