Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ body = """
### People who contributed to this release
{% endif %}
{%- for contributor in github.contributors | filter(attribute="username") | sort(attribute="username") %}
{%- if contributor.username != "dependabot[bot]" %}
{%- if contributor.username != "dependabot[bot]" and contributor.username != "github-actions[bot]" %}
* [@{{ contributor.username }}](https://github.com/{{ contributor.username }})
{%- endif %}
{%- endfor %}
Expand All @@ -91,7 +91,7 @@ body = """
{%- endif %}

{%- for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
{%- if contributor.username != "dependabot[bot]" %}
{%- if contributor.username != "dependabot[bot]" and contributor.username != "github-actions[bot]" %}
* @{{ contributor.username }} made their first contribution
{%- if contributor.pr_number %}
in [#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}) \
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
-
name: Extract tag message
id: get_message
# git-cliff may or may not pick the current tag message, difficult to tell when
# this works. We extract the tag message explicitly.
run: |
MESSAGE=$(git tag -l '${{ github.ref_name }}' --format='%(contents:subject)

%(contents:body)
')
export MESSAGE
echo "message<<EOF" >> "${GITHUB_OUTPUT}"
printenv MESSAGE >> "${GITHUB_OUTPUT}"
echo 'EOF' >> "${GITHUB_OUTPUT}"
-
name: Generate release notes
id: notes
Expand All @@ -36,6 +50,7 @@ jobs:
config: '.cliff.toml'
args: >-
--current
--with-tag-message '${{ steps.get_message.outputs.message }}'
-
name: Create github release
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
Expand Down
Loading