Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created March 28, 2021 03:25
Show Gist options
  • Select an option

  • Save KyMidd/42f467e6f128bb0e062775e8736671fe to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/42f467e6f128bb0e062775e8736671fe to your computer and use it in GitHub Desktop.
# If all lines evaluated, and we still haven't decided to require approval, then all
# resources have been checked and none triggered approval flow
if [[ $approvalRequired == "no" ]]; then
echo "****************************************"
echo "##[section]Approval will not be required"
echo "****************************************"
echo "##vso[task.setvariable variable=approvalRequired;isOutput=true]false"
echo ""
echo ""
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment