Skip to content

Commit 71bbb60

Browse files
authored
fix: Fix faulty commands (#47)
1 parent 0a948e5 commit 71bbb60

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dependabot-security-alerts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
-H "Accept: application/vnd.github+json" \
6262
-H "X-GitHub-Api-Version: 2026-03-10" \
6363
"/repos/${GH_REPO}/dependabot/alerts?state=open&per_page=100" \
64-
--jq '([.[] | length] | add) // 0')"
64+
| jq '([.[] | length] | add) // 0')"
6565
echo "count=${count}" >> "${GITHUB_OUTPUT}"
6666
6767
- name: Send Slack message

.github/workflows/issue-revalidation-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
GH_TOKEN: ${{ steps.app-token.outputs.token }}
5555
run: |
5656
count="$(gh api --paginate --slurp "repos/${{ matrix.owner }}/${{ matrix.repo }}/issues?state=open&per_page=100" \
57-
--jq 'flatten | map(select(.pull_request | not) | select((.body // "") | contains("<!-- provider-gap-audit: ") or contains("<!-- library-gap-audit: "))) | length')"
57+
| jq 'flatten | map(select(.pull_request | not) | select((.body // "") | contains("<!-- provider-gap-audit: ") or contains("<!-- library-gap-audit: "))) | length')"
5858
echo "count=$count" >> "$GITHUB_OUTPUT"
5959
if [ "$count" -gt 0 ]; then
6060
echo "has_audit_issues=true" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)