File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
actions/create_workflow_report Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ runs:
2222 - name : Create and upload workflow report
2323 env :
2424 ACTIONS_RUN_URL : ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
25+ COMMIT_SHA : ${{ steps.set_version.outputs.commit_sha || github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
2526 FINAL : ${{ inputs.final }}
2627 shell : bash
2728 run : |
2829 pip install clickhouse-driver==0.2.8 numpy==1.26.4 pandas==2.0.3 jinja2==3.1.5
2930
3031 CMD="python3 .github/actions/create_workflow_report/create_workflow_report.py"
31- ARGS="--actions-run-url $ACTIONS_RUN_URL --known-fails tests/broken_tests.json --cves"
32+ ARGS="--actions-run-url $ACTIONS_RUN_URL --commit-sha $COMMIT_SHA -- known-fails tests/broken_tests.json --cves"
3233
3334 set +e -x
3435 if [[ "$FINAL" == "false" ]]; then
Original file line number Diff line number Diff line change 6969 VERSION=$SPECIFIED_VERSION
7070 fi
7171 echo "docker_image=${{ inputs.docker_image }}:$PR_NUMBER-$VERSION$TAG_SUFFIX" >> $GITHUB_OUTPUT
72- echo "commit_sha=$CLICKHOUSE_VERSION_GITHASH" >> $GITHUB_OUTPUT
7372
7473 - name : Run Grype Scan
7574 run : |
8584 id : upload_results
8685 env :
8786 S3_BUCKET : " altinity-build-artifacts"
88- COMMIT_SHA : ${{ steps.set_version.outputs.commit_sha || github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
87+ COMMIT_SHA : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
8988 PR_NUMBER : ${{ env.PR_NUMBER || github.event.pull_request.number || 0 }}
9089 DOCKER_IMAGE : ${{ steps.set_version.outputs.docker_image || inputs.docker_image }}
9190 run : |
You can’t perform that action at this time.
0 commit comments