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

[STAL-2160] Show message when default branch not found #1427

Merged
merged 2 commits into from
Aug 26, 2024
Merged

Conversation

juli1
Copy link
Contributor

@juli1 juli1 commented Aug 26, 2024

What and why?

Customer with no default branch have their upload rejected. They reach out support. We want to add a message that indicates how to troubleshoot so that the users can troubleshoot and fix the issue themselves.

How?

When the default branch is not found, the server will return an error code 412. When we receive this error, we show then a message to invite the user to define a default branch.

@juli1 juli1 added the static-analysis Related to [sarif, sbom] label Aug 26, 2024
@juli1 juli1 requested review from a team as code owners August 26, 2024 00:50
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Aug 26, 2024

Datadog Report

Branch report: juli1/STAL-2160
Commit report: 8577e4c
Test service: datadog-ci-tests

✅ 0 Failed, 112 Passed, 0 Skipped, 1m 2.61s Total duration (2m 24.25s time saved)

@juli1 juli1 changed the title Show message when default branch not found [STAL-2160] Show message when default branch not found Aug 26, 2024
@juli1 juli1 merged commit d74e427 into master Aug 26, 2024
18 checks passed
@juli1 juli1 deleted the juli1/STAL-2160 branch August 26, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
static-analysis Related to [sarif, sbom]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants