Skip to content

Commit

Permalink
Correct the number of commits in pull-request
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Sep 6, 2024
1 parent 844193e commit 75074d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ inputs:
pull_request_commits:
description: "Number of commits in this PR"
required: false
default: ${{ github.event.commits }}

default: ${{ github.event.pull_request.commits }}
outputs:
sarif:
description: 'The SARIF file containing defects'
Expand Down

0 comments on commit 75074d7

Please sign in to comment.