Skip to content

CI: fix qhelp preview#10753

Merged
aibaars merged 1 commit intogithub:mainfrom
aibaars:fix-qhelp-job
Oct 10, 2022
Merged

CI: fix qhelp preview#10753
aibaars merged 1 commit intogithub:mainfrom
aibaars:fix-qhelp-job

Conversation

@aibaars
Copy link
Copy Markdown
Contributor

@aibaars aibaars commented Oct 10, 2022

The command to gather the changed files uses NULL character terminated "lines", therefore we should supply the -z flag to basename as well. Otherwise we end up calling git grep -l "\n" which would list all files containing a newline.

This should fix errors on qhelp.inc files like in https://github.com/github/codeql/actions/runs/3214105642/jobs/5261655998 .

The command to gather the changed files uses NULL character terminated "lines",
therefore we should supply the `-z` flag to `basename` as well. Otherwise we
end up calling `git grep -l "\n"` which would list all files containing a newline.
@aibaars aibaars requested a review from a team as a code owner October 10, 2022 13:30
@aibaars aibaars requested a review from nickrolfe October 10, 2022 13:30
Copy link
Copy Markdown
Contributor

@nickrolfe nickrolfe left a comment

Choose a reason for hiding this comment

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

That seems reasonable.

@aibaars aibaars merged commit b597896 into github:main Oct 10, 2022
@aibaars aibaars mentioned this pull request Oct 10, 2022
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