@@ -7,26 +7,29 @@ extensions:
7
7
# PULL REQUESTS
8
8
#
9
9
# 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"]
11
11
# 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"]
13
14
# 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"]
15
16
# 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"]
17
18
# 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"]
19
20
# 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"]
21
22
#
22
23
# ISSUES
23
24
#
24
25
# 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"]
26
29
# 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"]
28
31
# 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"]
30
33
#
31
34
# API
32
35
#
0 commit comments