File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,19 +59,17 @@ jobs:
5959 test="true"
6060 environment="acctest-dotcom"
6161 echo "::notice::Running in ${GITHUB_EVENT_NAME} context, proceeding with tests."
62+ elif [[ "${INPUT_ACCTEST_LABEL_SET}" == "false" ]]; then
63+ echo "::notice::Skipping tests acctest label is not set."
6264 else
6365 if [[ "${INPUT_GITHUB_HEAD_REPO}" == "${INPUT_GITHUB_BASE_REPO}" ]]; then
6466 fork="false"
6567 test="true"
6668 environment="acctest-dotcom"
6769 echo "::notice::Running in ${GITHUB_EVENT_NAME} context from the base repository, proceeding with tests."
6870 else
69- if [[ "${INPUT_ACCTEST_LABEL_SET}" == "true" ]]; then
70- test="true"
71- echo "::warning::Running in ${GITHUB_EVENT_NAME} context from a fork ${repository}, proceeding with tests as acctest label is set."
72- else
73- echo "::warning::Running in ${GITHUB_EVENT_NAME} context from a fork ${repository}, skipping tests as acctest label is not set."
74- fi
71+ test="true"
72+ echo "::warning::Running in ${GITHUB_EVENT_NAME} context from a fork ${repository}, proceeding with tests."
7573 fi
7674 fi
7775
You can’t perform that action at this time.
0 commit comments