File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,16 +150,14 @@ jobs:
150150 - name : Mark the workspace as safe
151151 # https://github.com/actions/checkout/issues/766
152152 run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
153- - name : Pre-build
154- if : ${{ inputs.linux_pre_build_command }}
155- # zizmor: ignore[template-injection]
156- run : ${{ inputs.linux_pre_build_command }}
157153 - name : Run API breakage check
158154 shell : bash
159155 env :
160156 API_BREAKAGE_CHECK_BASELINE : ${{ inputs.api_breakage_check_baseline }}
161157 API_BREAKAGE_CHECK_ALLOWLIST_PATH : ${{ inputs.api_breakage_check_allowlist_path }}
158+ # zizmor: ignore[template-injection]
162159 run : |
160+ ${{ inputs.linux_pre_build_command }}
163161 if [[ -z "${API_BREAKAGE_CHECK_BASELINE}" ]]; then
164162 git fetch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} ${GITHUB_BASE_REF}:pull-base-ref
165163 BASELINE_REF='pull-base-ref'
You can’t perform that action at this time.
0 commit comments