Skip to content

Commit

Permalink
missing pr is mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Feb 7, 2024
1 parent bbefe0b commit 1039250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ runs:
# Comment on PR if it is a pull req and the status code is 201
- name: Comment on PR if it is a pull req
if: ${{inputs.pr_comment == 'true' && github.event_name == 'pull_request' && steps.branch-name.outputs.base_ref_branch != '' && env.PR_HTTP_RESPONSE == '201'}}
if: ${{inputs.pr_comment == 'true' && steps.find-pull-request.outputs.number != '' && steps.branch-name.outputs.base_ref_branch != '' && env.PR_HTTP_RESPONSE == '201'}}
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ steps.find-pull-request.outputs.number }}
Expand Down

0 comments on commit 1039250

Please sign in to comment.