Skip to content

Commit 8927b96

Browse files
committed
Fix pending-prs shell script
1 parent b2f5866 commit 8927b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pending-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
id: generate-prs
1515
run: |
1616
./.github/workflows/scripts/pending-prs slack redpanda-data/redpanda-operator > payload.json
17-
echo "has-prs=$(cat payload.json | wc -l)" >> $GITHUB_OUTPUT
17+
echo "has-prs=$(wc -l < payload.json | xargs)" >> "$GITHUB_OUTPUT"
1818
env:
1919
GH_TOKEN: ${{ github.token }}
2020
- name: Post message to Slack channel

0 commit comments

Comments
 (0)