Skip to content

Commit

Permalink
Update cmd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mordamax committed Oct 4, 2024
1 parent e04b7a9 commit 3b84cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ jobs:
id: pr-arg
run: |
CMD="${{ steps.get-pr-comment.outputs.group2 }}"
if echo "$CMD" | grep -q "prdoc" && ! echo "$CMD" | grep -qE "--pr[[:space:]=][0-9]+"; then
if echo "$CMD" | grep -q "prdoc" && ! echo "$CMD" | grep -qE "\-\-pr[[:space:]=][0-9]+"; then
echo "arg=--pr ${{ github.event.issue.number }}" >> $GITHUB_OUTPUT
else
echo "arg=" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 3b84cf4

Please sign in to comment.