Code
extract_newsworthy_items(
"- blop\n-blip\n\nCo-authored-by: Person (<person@users.noreply.github.com>)")
Output
# A tibble: 2 x 4
description type breaking scope
<chr> <chr> <lgl> <lgl>
1 blop (@person). Uncategorized FALSE NA
2 blip (@person). Uncategorized FALSE NA
Code
extract_newsworthy_items(
"- blop\n\nCo-authored-by: Person (<person@users.noreply.github.com>)\nCo-authored-by: Someone Else (<else@users.noreply.github.com>)")
Output
# A tibble: 1 x 4
description type breaking scope
<chr> <chr> <lgl> <lgl>
1 blop (@person, @else). Uncategorized FALSE NA
Code
extract_newsworthy_items(
"feat: blop\n\nCo-authored-by: Person (<person@users.noreply.github.com>)")
Output
# A tibble: 1 x 4
description type breaking scope
<chr> <chr> <lgl> <lgl>
1 blop (@person) Features FALSE NA
[
{
"description": "Improve parsing of conventional commit messages (#332).",
"type": "Features",
"breaking": false,
"scope": "NA"
}
]
Code
suppressMessages(extract_newsworthy_items(
"Merge pull request #18 from someone/conventional-parsing"))
Output
# A tibble: 1 x 4
description type breaking scope
<chr> <chr> <lgl> <lgl>
1 Improve parsing of conventional commit messages (@someon~ Feat~ FALSE NA
[
{
"description": "improve bump_version() (error) messages (#153, cynkra/dm#325, #328).",
"type": "Features",
"breaking": false,
"scope": "NA"
}
]
Code
extract_newsworthy_items(
"Merge pull request #332 from cynkra/conventional-parsing")
Message
! Could not get title for PR #332 (no internet connection)
Output
# A tibble: 1 x 4
description type breaking scope
<chr> <chr> <lgl> <lgl>
1 Merge pull request #332 from cynkra/conventional-parsing~ Unca~ FALSE NA
Code
extract_newsworthy_items(
"Merge pull request #332 from cynkra/conventional-parsing")
Condition
Error in `check_gh_pat()`:
x Can't find a GitHub Personal Access Token (PAT).
i See for instance `?gh::gh_token` or <https://usethis.r-lib.org/reference/github-token.html>
[
{
"title": "- Merge pull request #332 from cynkra/conventional-parsing",
"pr_number": "332",
"issue_numbers": "",
"external_ctb": "NA"
}
]
[
{
"description": "improve bump_version() (error) messages (#153, cynkra/dm#325, #328).",
"type": "Features",
"breaking": false,
"scope": "NA"
}
]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.