From 75074d785212a9276d8f5219783b7d051e8d323a Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 6 Sep 2024 13:09:02 +0200 Subject: [PATCH] Correct the number of commits in pull-request --- action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/action.yml b/action.yml index cc1ef9c..a020524 100644 --- a/action.yml +++ b/action.yml @@ -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'