diff --git a/.github/scripts/submit-provider.sh b/.github/scripts/submit-provider.sh index 05a9537575..37f257cdbf 100755 --- a/.github/scripts/submit-provider.sh +++ b/.github/scripts/submit-provider.sh @@ -19,7 +19,7 @@ fi repository=$(echo "${BODY}" | grep "### Provider Repository" -A2 | tail -n1 | tr "[:upper:]" "[:lower:]" | sed -e 's/[\r\n]//g') if [[ ! "${repository}" =~ ^[a-zA-Z0-9-]+/terraform-provider-[a-zA-Z0-9-]+$ ]]; then - gh issue comment "${NUMBER}" -b "Failed validation: Invalid repository name: '${repository}'. Please submit the repository in the format of ORGANIZATION/terraform-provider-NAME." + gh issue comment "${NUMBER}" -b "Failed validation: Invalid repository name: '${repository}'. Please edit your issue to state the repository in the format of ORGANIZATION/terraform-provider-NAME." exit 1 fi @@ -62,4 +62,4 @@ git push -u origin "${branch}" # Create pull request and update issue pr=$(gh pr create --title "${TITLE}" --body "Created ${jsonfile/../src/}) for provider ${namespace}/${name}. Closes #${NUMBER}.") #--assignee opentofu/core-engineers) gh issue comment "${NUMBER}" -b "Your submission has been validated and has moved on to the pull request phase (${pr}). This issue has been locked." -gh issue lock "${NUMBER}" -r resolved \ No newline at end of file +gh issue lock "${NUMBER}" -r resolved