@@ -7,26 +7,29 @@ extensions:
77 # PULL REQUESTS
88 #
99 # HEAD_REF=$(gh pr view "${{ github.event.issue.number }}" --json headRefName -q '.headRefName')
10- - ["gh\\s+pr\\b.*\\bview\\b.*\\.headRefName.* ", "branch,oneline"]
10+ - ["gh\\s+pr\\b.*\\bview\\b.*\\bheadRefName\\b ", "branch,oneline"]
1111 # TITLE=$(gh pr view $PR_NUMBER --json title --jq .title)
12- - ["gh\\s+pr\\b.*\\bview\\b.*\\.title.*", "title,oneline"]
12+ # TITLE=$(gh pr view $PR_NUMBER --json "title")
13+ - ["gh\\s+pr\\b.*\\bview\\b.*\\btitle\\b", "title,oneline"]
1314 # BODY=$(gh pr view $PR_NUMBER --json body --jq .body)
14- - ["gh\\s+pr\\b.*\\bview\\b.*\\.body.* ", "text,multiline"]
15+ - ["gh\\s+pr\\b.*\\bview\\b.*\\bbody\\b ", "text,multiline"]
1516 # COMMENTS="$(gh pr view --repo ${{ github.repository }} "$PR_NUMBER" --json "body,comments" -q '.body, .comments[].body')"
16- - ["gh\\s+pr\\b.*\\bview\\b.*\\.comments.* ", "text,multiline"]
17+ - ["gh\\s+pr\\b.*\\bview\\b.*\\bcomments\\b ", "text,multiline"]
1718 # CHANGED_FILES="$(gh pr view --repo ${{ github.repository }} ${{ needs.check-comment.outputs.pull_number }} --json files --jq '.files.[].path')"
18- - ["gh\\s+pr\\b.*\\bview\\b.*\\.files.* ", "filename,multiline"]
19+ - ["gh\\s+pr\\b.*\\bview\\b.*\\bfiles\\b ", "filename,multiline"]
1920 # AUTHOR=$(gh pr view ${ORI_PR} -R ${REPO} --json author -q '.author.login')
20- - ["gh\\s+pr\\b.*\\bview\\b.*\\.author.* ", "username,oneline"]
21+ - ["gh\\s+pr\\b.*\\bview\\b.*\\bauthor\\b ", "username,oneline"]
2122 #
2223 # ISSUES
2324 #
2425 # TITLE=$(gh issue view "$ISSUE_NUMBER" --json title --jq '.title')
25- - ["gh\\s+issue\\b.*\\bview\\b.*\\.title.*", "title,oneline"]
26+ # TITLE=$(gh issue view "$ISSUE_NUMBER" --json title,body)
27+ # TITLE=$(gh issue view "$ISSUE_NUMBER" --json "title,body")
28+ - ["gh\\s+issue\\b.*\\bview\\b.*\\btitle\\b", "title,oneline"]
2629 # BODY=$(gh issue view -R ${GITHUB_REPOSITORY} ${ORIGINAL_ISSUE_NUMBER} --json title,body,assignees --jq .body)
27- - ["gh\\s+issue\\b.*\\bview\\b.*\\.body.* ", "text,multiline"]
30+ - ["gh\\s+issue\\b.*\\bview\\b.*\\bbody\\b ", "text,multiline"]
2831 # COMMENTS=$(gh issue view "$ISSUE_NUMBER" --json comments --jq '.comments[].body')
29- - ["gh\\s+issue\\b.*\\bview\\b.*\\.comments.* ", "text,multiline"]
32+ - ["gh\\s+issue\\b.*\\bview\\b.*\\bcomments\\b ", "text,multiline"]
3033 #
3134 # API
3235 #
0 commit comments