We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb129c commit 4dbc412Copy full SHA for 4dbc412
tools/actions/nominate.sh
@@ -41,6 +41,16 @@ EOF
41
return 1
42
}
43
44
+ read -p 'Open the discussion using `gh`? (y/N)' -n 1 -r
45
+ echo
46
+ if ! ([ "$REPLY" = "y" ] || [ "$REPLY" = "Y" ]); then
47
+ set +x
48
+ echo "Here's the body that you set:" >&2
49
+ echo "$BODY"
50
+ echo "Open https://github.com/nodejs/collaborators/discussions/new/choose in your browser to create the discussion manually" >&2
51
+ return 0
52
+ fi
53
+
54
echo "Getting repo ID and discussion category" >&2
55
# shellcheck disable=SC2016
56
REPO_ID_AND_DISCUSSION_CATEGORY_ID="$(gh api graphql -f query='
0 commit comments