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 968f67b commit 2991637Copy full SHA for 2991637
tools/actions/nominate.sh
@@ -32,7 +32,7 @@ prepare_collaborator_nomination() {
32
* Other participation in the wider Node.js community
33
-->
34
EOF
35
- $EDITOR "$BODY_FILE"
+ ${EDITOR:-nano} "$BODY_FILE"
36
BODY="$(cat "$BODY_FILE")"
37
rm "$BODY_FILE"
38
@@ -42,6 +42,7 @@ EOF
42
}
43
44
echo "Getting repo ID and discussion category" >&2
45
+ # shellcheck disable=SC2016
46
REPO_ID_AND_DISCUSSION_CATEGORY_ID="$(gh api graphql -f query='
47
query($owner:String!,$repo:String!){
48
repository(owner:$owner,name:$repo){
@@ -65,6 +66,7 @@ EOF
65
66
return 1
67
68
69
70
gh api graphql -f query='
71
mutation($repo: ID!,$cat: ID!,$title: String!,$body: String!){
72
createDiscussion(input: {
0 commit comments