Skip to content

Conversation

@lukaszstolarczuk
Copy link
Contributor

echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT

CR_BUILD_REF=""
if [ -n "${{ inputs.custom_cr }}" ] && [[ "${{ inputs.custom_cr }}" == PR_* ]]; then

Check failure

Code scanning / zizmor

code injection via template expansion Error test

code injection via template expansion
echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT

CR_BUILD_REF=""
if [ -n "${{ inputs.custom_cr }}" ] && [[ "${{ inputs.custom_cr }}" == PR_* ]]; then

Check failure

Code scanning / zizmor

code injection via template expansion Error test

code injection via template expansion
echo "BENCHMARK_RESULTS_REPO_PATH=$BENCHMARK_RESULTS_REPO_PATH" >> $GITHUB_OUTPUT

CR_BUILD_REF=""
if [ -n "${{ inputs.custom_cr }}" ] && [[ "${{ inputs.custom_cr }}" == PR_* ]]; then

Check failure

Code scanning / zizmor

code injection via template expansion Error test

code injection via template expansion
pr_no="$(echo "${{ inputs.custom_cr }}" | sed 's/PR_//')"
CR_BUILD_REF="refs/pull/$pr_no/head"
echo "Using custom compute runtime ref: ${CR_BUILD_REF}"
elif [ -n "${{ inputs.custom_cr }}" ]; then

Check failure

Code scanning / zizmor

code injection via template expansion Error test

code injection via template expansion
pr_no="$(echo "${{ inputs.custom_cr }}" | sed 's/PR_//')"
CR_BUILD_REF="refs/pull/$pr_no/head"
echo "Using custom compute runtime ref: ${CR_BUILD_REF}"
elif [ -n "${{ inputs.custom_cr }}" ]; then

Check failure

Code scanning / zizmor

code injection via template expansion Error test

code injection via template expansion
--timestamp-override "$SAVE_TIMESTAMP" \
--detect-version sycl,compute_runtime \
--produce-github-summary \
${{ env.CR_BUILD_REF != '' && format('--compute-runtime {0}', env.CR_BUILD_REF) || '' }} \

Check warning

Code scanning / zizmor

code injection via template expansion Warning test

code injection via template expansion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant