Skip to content

Commit

Permalink
Merge pull request ruby#583 from pocke/Fix_GHA_workflow_for_commentin…
Browse files Browse the repository at this point in the history
…g_on_review

Fix GHA workflow for commenting on review
  • Loading branch information
pocke authored Jun 3, 2024
2 parents 534a7c8 + b1be8bd commit a168c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/comment_on_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
GH_REPO: ${{ github.repository }}
run:
state="$(gh pr view "$(cat PR_NUMBER)" --json state --jq .state --repo "$GH_REPO")"
if [ "$state" = "OPEN"]; then
if [ "$state" = "OPEN" ]; then
gh pr comment "$(cat PR_NUMBER)" --body "$(cat COMMENT_BODY.txt)" --repo "$GH_REPO"
fi

0 comments on commit a168c3f

Please sign in to comment.