File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
.github/actions/create_workflow_report Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# This script is for generating preview reports when invoked as a post-hook from a praktika job
33pip install clickhouse-driver==0.2.8 numpy==1.26.4 pandas==2.0.3 jinja2==3.1.5
4- ARGS=" --mark-preview --known-fails tests/broken_tests.json --cves --actions-run-url $GITHUB_SERVER_URL /$GITHUB_REPOSITORY /actions/runs/$GITHUB_RUN_ID "
4+ ARGS=" --mark-preview --known-fails tests/broken_tests.json --cves --actions-run-url $GITHUB_SERVER_URL /$GITHUB_REPOSITORY /actions/runs/$GITHUB_RUN_ID --pr-number $PR_NUMBER "
55CMD=" python3 .github/actions/create_workflow_report/create_workflow_report.py"
66$CMD $ARGS
77
Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ def _post_run(
510510 HtmlRunnerHooks .post_run (workflow , job , info_errors )
511511
512512 # Altinity workflow report
513- cmd = f"./.github/actions/create_workflow_report/workflow_report_hook.sh"
513+ cmd = f"PR_NUMBER= { env . PR_NUMBER } ./.github/actions/create_workflow_report/workflow_report_hook.sh"
514514 workflow_report_url = Shell .get_output (cmd ).splitlines ()[- 1 ]
515515 print (f"::notice ::Workflow report: { workflow_report_url } " )
516516
You can’t perform that action at this time.
0 commit comments