Skip to content

Commit

Permalink
rename env var COMMIT to COMMIT_IDS
Browse files Browse the repository at this point in the history
  • Loading branch information
sryabkov committed Feb 1, 2025
1 parent 047e9ad commit bf61511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
BASE: ${{ inputs.base }}
HEAD: ${{ inputs.head }}
ARGS: ${{ inputs.extra_args }}
COMMITS: ${{ toJson(github.event.commits.*.id) }}
COMMIT_IDS: ${{ toJson(github.event.commits.*.id) }}
VERSION: ${{ inputs.version }}
run: |
##########################################
Expand Down Expand Up @@ -64,7 +64,7 @@ runs:
##########################################
else
if [ "${{ github.event_name }}" == "push" ]; then
COMMIT_LENGTH=$(printenv COMMITS | jq length)
COMMIT_LENGTH=$(printenv COMMIT_IDS | jq length)
if [ $COMMIT_LENGTH == "0" ]; then
echo "No commits to scan"
exit 0
Expand Down

0 comments on commit bf61511

Please sign in to comment.