File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -295,16 +295,18 @@ if [[ -z "${INPUT_PIPELINE:-}" ]] && [[ -z "${INPUT_PIPELINE_UUID:-}" ]]; then
295295 exit 1
296296fi
297297
298+ ORG_SLUG=" "
299+ PIPELINE_SLUG=" "
300+ PIPELINE_UUID=" "
301+ BUILD_URL=" "
302+
298303if [[ -n " ${INPUT_PIPELINE_UUID:- } " ]]; then
299304 PIPELINE_UUID=" ${INPUT_PIPELINE_UUID} "
300305 BUILD_URL=" https://api.buildkite.com/v2/pipelines/${PIPELINE_UUID} /builds"
301- ORG_SLUG=" "
302- PIPELINE_SLUG=" "
303306else
304307 ORG_SLUG=$( echo " ${INPUT_PIPELINE} " | cut -d' /' -f1)
305308 PIPELINE_SLUG=$( echo " ${INPUT_PIPELINE} " | cut -d' /' -f2)
306309 BUILD_URL=" https://api.buildkite.com/v2/organizations/${ORG_SLUG} /pipelines/${PIPELINE_SLUG} /builds"
307- PIPELINE_UUID=" "
308310fi
309311
310312COMMIT=" ${INPUT_COMMIT:- ${GITHUB_SHA} } "
You can’t perform that action at this time.
0 commit comments