Skip to content

Commit

Permalink
[docbot] also list commits with [FEATURE]
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 9, 2020
1 parent c6f5b39 commit fd970b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr_to_doc_issue.yml
Expand Up @@ -67,7 +67,7 @@ jobs:
env:
JSON_DATA: ${{ steps.get_pr_commits.outputs.data }}
run: |
COMMITS_MESSAGES=$(echo ${JSON_DATA} | jq '.[].commit.message | select( . |test("\\[needs?.doc(umentation)?s?\\]"; "i")) | sub("\\[needs?.doc(umentation)?s?\\]"; "\n\n\n\n"; "i")')
COMMITS_MESSAGES=$(echo ${JSON_DATA} | jq '.[].commit.message | select( . |test("\\[(feature|needs?.doc(umentation)?s?)\\]"; "i")) | sub("\\[needs?.doc(umentation)?s?\\]"; "\n\n\n\n"; "i")')
echo "::set-output name=commits::$(echo ${COMMITS_MESSAGES} | tr -d '\n' )"
# create the documentation issue
Expand Down

0 comments on commit fd970b9

Please sign in to comment.