We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee9c2f commit e68e671Copy full SHA for e68e671
action.yml
@@ -35,7 +35,7 @@ runs:
35
BASE: ${{ inputs.base }}
36
HEAD: ${{ inputs.head }}
37
ARGS: ${{ inputs.extra_args }}
38
- COMMITS: ${{ toJson(github.event.commits) }}
+ COMMIT_IDS: ${{ toJson(github.event.commits.*.id) }}
39
VERSION: ${{ inputs.version }}
40
run: |
41
##########################################
@@ -64,7 +64,7 @@ runs:
64
65
else
66
if [ "${{ github.event_name }}" == "push" ]; then
67
- COMMIT_LENGTH=$(printenv COMMITS | jq length)
+ COMMIT_LENGTH=$(printenv COMMIT_IDS | jq length)
68
if [ $COMMIT_LENGTH == "0" ]; then
69
echo "No commits to scan"
70
exit 0
0 commit comments