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
Rewrite qhelp-pr-preview.yml #6995
base: main
Are you sure you want to change the base?
Conversation
25a7f24
to
6ac05dd
This reverts commit b128c7c.
| sort -u | xargs -d '\n' -n1 printf "'%s' " | ||
| - uses: ./.github/actions/fetch-codeql | ||
| (git diff --name-only --diff-filter=ACMRT HEAD~1 HEAD | grep '.qhelp$' | grep -v '.inc.qhelp'; |
git diff also has the -z option to use NULs as terminators instead of \n.
(I think git diff already quotes pathnames with \n and other special characters)
sort and grep also support -z.
But I don't know whether using NULs would bring any benefits as this job only has read permission and a pull_request trigger. I also don't know how the cat "${{ runner.temp }}/paths.txt" | while read path; do would have to be changed...
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Download artifact | ||
| uses: dawidd6/action-download-artifact@af92a8455a59214b7b932932f2662fdefbd78126 |
I think you could get rid of this external action by doing something like this:
gh run download --name "comment" "$RUN_ID"


No description provided.
The text was updated successfully, but these errors were encountered: