Skip to content
Permalink
Browse files

[docbot] also list commits with [FEATURE]

  • Loading branch information
3nids committed Jan 9, 2020
1 parent c6f5b39 commit fd970b917c3aca8832dcedd2549599f7c92b52ea
Showing with 1 addition and 1 deletion.
  1. +1 −1 .github/workflows/pr_to_doc_issue.yml
@@ -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

0 comments on commit fd970b9

Please sign in to comment.
You can’t perform that action at this time.