FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add better error messages when determining merge-base by aeisenberg · Pull Request #1860 · github/codeql-action · GitHub

Add better error messages when determining merge-base - #1860

Merged
aeisenberg merged 4 commits into
mainfrom
aeisenberg/better-error-messages
Aug 29, 2023
Merged

aeisenberg merged 4 commits into
mainfrom
aeisenberg/better-error-messages

Conversation

aeisenberg commented Aug 28, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

Avoid printing scary error messages to console when the current directory is not a git repo. Instead provide a better reason for the git failure and continue on.

Fixes #1162.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

aeisenberg requested a review from a team as a code owner August 28, 2023 19:29
aeisenberg force-pushed the aeisenberg/better-error-messages branch 6 times, most recently from 723ff68 to eb92954 Compare August 28, 2023 22:35
Avoid printing scary error messages to console when the current
directory is not a git repo. Instead provide a better reason for the git
failure and continue on.
aeisenberg force-pushed the aeisenberg/better-error-messages branch from eb92954 to d721f69 Compare August 28, 2023 22:50
Comment thread src/actions-util.test.ts Fixed

henrymercer left a comment
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good overall, some minor suggestions. Also I've been suggesting we add changelog notes to more of our PRs and I think this one would benefit from one too.

Comment thread src/actions-util.test.ts Outdated
Comment thread src/actions-util.ts Outdated
Comment thread src/actions-util.ts Outdated
Comment thread src/actions-util.ts Outdated
Comment thread src/actions-util.test.ts Fixed
Comment thread src/actions-util.ts Outdated
henrymercer previously approved these changes Aug 29, 2023
Comment thread src/actions-util.test.ts Outdated
Comment thread src/actions-util.test.ts Outdated
Comment thread src/actions-util.ts Outdated

henrymercer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Nice, thanks for addressing this bit of customer feedback!

aeisenberg enabled auto-merge August 29, 2023 20:24
aeisenberg merged commit c5acfe3 into main Aug 29, 2023
aeisenberg deleted the aeisenberg/better-error-messages branch August 29, 2023 20:51
github-actions Bot mentioned this pull request Sep 13, 2023
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Avoid printing an error message when upload-sarif location is not a git directory

3 participants


Back | FazBrowse Home | New Git URL