mirror of
https://github.com/curl/curl.git
synced 2026-06-05 13:34:15 +03:00
scripts: pass -- before passing xargs
Also: - GHA/checkdocs: escape `.` in -E regex expression. Closes #19076
This commit is contained in:
parent
3c0604bba4
commit
c8aaa5d2f2
5 changed files with 6 additions and 5 deletions
2
.github/workflows/appveyor-status.yml
vendored
2
.github/workflows/appveyor-status.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
APPVEYOR_REPOSITORY: ${{ github.event.repository.full_name }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
echo "${APPVEYOR_TARGET_URL}" | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s | \
|
||||
echo "${APPVEYOR_TARGET_URL}" | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s -- | \
|
||||
jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),
|
||||
context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),
|
||||
state: (.status | sub("queued"; "pending")
|
||||
|
|
|
|||
2
.github/workflows/checkdocs.yml
vendored
2
.github/workflows/checkdocs.yml
vendored
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
# run: git ls-files -z '*.md' | xargs -0 -n1 .github/scripts/trimmarkdownheader.pl
|
||||
#
|
||||
# - name: 'check prose'
|
||||
# run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|curl_mprintf.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README
|
||||
# run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC\.md|DISTROS\.md|curl_mprintf\.md|CURLOPT_INTERFACE\.md|interface\.md' | xargs -0 proselint -- README
|
||||
#
|
||||
# # This is for CHECKSRC and files with aggressive exclamation mark needs
|
||||
# - name: 'create second proselint config'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue