Skip to content

Commit

Permalink
feat: nomi sui commit taggati
Browse files Browse the repository at this point in the history
  • Loading branch information
ncvescera committed Aug 1, 2023
1 parent 70c6cc2 commit e0694be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/conf.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ github_repo_link }}/commit/{{ commit.id }})) by {{ commit.author.name }}\
- {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}]({{ github_repo_link }}/commit/{{ commit.id }})) \
{% endfor %}
{% endfor %}\n
Expand Down Expand Up @@ -41,8 +41,10 @@ split_commits = false
# regex for parsing and grouping commits

commit_preprocessors = [
{pattern = ".*", replace_command="${1} ${gh api -H 'Accept: application/vnd.github+json' -H 'X-GitHub-Api-Version: 2022-11-28' /repos/ncvescera/provaactions/commits/$COMMIT_SHA | jq -r .author.login}"},
{pattern = ".*", replace_command="echo -n \"$(cat $@) @$(gh api -H 'Accept: application/vnd.github+json' -H 'X-GitHub-Api-Version: 2022-11-28' /repos/ncvescera/provaactions/commits/$COMMIT_SHA | jq -r .author.login)\""}
# {pattern = ".*", replace_command="${1} gh api -H 'Accept: application/vnd.github+json' -H 'X-GitHub-Api-Version: 2022-11-28' /repos/ncvescera/provaactions/commits/$COMMIT_SHA | jq -r .author.login"},
]

commit_parsers = [
{ message = "^feat", group = "Features 🚀"},
{ message = "^fix", group = "Fixes 🔨"},
Expand Down

0 comments on commit e0694be

Please sign in to comment.