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

Fix status reporting error on Windows by cklin · Pull Request #1042 · github/codeql-action · GitHub

Fix status reporting error on Windows - #1042

Merged
cklin merged 1 commit into
github:mainfrom
cklin:windows-status-report-error
Apr 26, 2022
Merged

cklin merged 1 commit into
github:mainfrom
cklin:windows-status-report-error

Conversation

cklin commented Apr 25, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Fixes: #1041

Status reporting currently fails on Windows because the CodeQL CLI version number retrieved by the action contains trailing \r\n line ending (so 2.8.5\r\n instead of 2.8.5). Interestingly, the reported CodeQL CLI version similarly contains \n line ending, but that for some reason did not cause server-side validation failure.

This PR fixes the bug by trimming whitespace from codeql version --format=terse output.

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.

cklin changed the title Address status reporting error on Windows Fix status reporting error on Windows Apr 25, 2022
cklin marked this pull request as ready for review April 25, 2022 23:21
cklin requested a review from a team as a code owner April 25, 2022 23:21
cklin enabled auto-merge April 26, 2022 15:09
cklin merged commit 7286114 into github:main Apr 26, 2022
cklin deleted the windows-status-report-error branch February 13, 2023 14:28
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.

RequestError [HttpError]: Invalid request.

3 participants


Back | FazBrowse Home | New Git URL