Skip to content

Commit 4d40378

Browse files
committed
restore the PR creation
Signed-off-by: Andrei Ciobanu <[email protected]>
1 parent e4da8a4 commit 4d40378

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .github/scripts/submit-provider-key.sh

+5
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,10 @@ else
8585
fi
8686
git push -u origin "${branch}"
8787

88+
# Create pull request and update issue
89+
pr=$(gh pr create --title "${TITLE}" --body "${msg} ${keyfile/.././} for provider ${namespace}. Closes #${NUMBER}.") #--assignee opentofu/core-engineers)
90+
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."
91+
gh issue lock "${NUMBER}" -r resolved
92+
8893
curr_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
8994
"${curr_dir}/submit-provider-key-check.sh" "${keyfile}" "${namespace}" "${providername}"

0 commit comments

Comments
 (0)