Skip to content

Commit a676454

Browse files
committed
fix: typos
1 parent 4956a65 commit a676454

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gh-cli/add-sub-issue-to-issue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ parent_issue_id=$(fetch_issue_id "$org" "$repo" "$parent_issue_number")
4747
# Fetch the child issue ID given the issue number
4848
child_issue_id=$(fetch_issue_id "$org" "$repo" "$child_issue_number")
4949

50-
# Set the issue type on the issue
50+
# Add the sub-issue to the parent issue
5151
gh api graphql -H GraphQL-Features:issue_types -H GraphQL-Features:sub_issues -f parrentIssueId="$parent_issue_id" -f childIssueId="$child_issue_id" -f query='
5252
mutation($parrentIssueId: ID!, $childIssueId: ID!) {
5353
addSubIssue(input: { issueId: $parrentIssueId, subIssueId: $childIssueId }) {

gh-cli/remove-sub-issue-from-issue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ else
6969
exit 1
7070
fi
7171

72-
# Set the issue type on the issue
72+
# Remove the sub-issue from the parent issue
7373
gh api graphql -H GraphQL-Features:issue_types -H GraphQL-Features:sub_issues -f parrentIssueId="$parent_issue_id" -f childIssueId="$child_issue_id" -f query='
7474
mutation($parrentIssueId: ID!, $childIssueId: ID!) {
7575
removeSubIssue(input: { issueId: $parrentIssueId, subIssueId: $childIssueId }) {

0 commit comments

Comments
 (0)