We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01180f4 commit 9befc81Copy full SHA for 9befc81
.github/workflows/quality-assurance.yaml
@@ -26,7 +26,8 @@ jobs:
26
env:
27
COMMITS: ${{ toJson(github.event.commits) }}
28
run: |
29
- echo "commit_length=$(echo $COMMITS | jq '. | length')" >> $GITHUB_OUTPUT
+ let NCOMMITS=1+$(echo $COMMITS | jq '. | length')
30
+ echo "commit_length=NCOMMITS" >> $GITHUB_OUTPUT
31
- name: Checking out ${{ steps.payload.outputs.commit_length || '1' }} commits
32
uses: actions/checkout@v4
33
with:
0 commit comments