Skip to content

Commit

Permalink
PRs before issues in default changelog (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Sep 11, 2023
1 parent a231964 commit 4a27437
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,18 @@ inputs:
{{ custom }}
{% endif %}
{% if pulls %}
**Merged pull requests:**
{% for pull in pulls %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endfor %}
{% if issues %}
**Closed issues:**
{% for issue in issues %}
- {{ issue.title }} (#{{ issue.number }})
{% endfor %}
{% endif %}
{% if pulls %}
**Merged pull requests:**
{% for pull in pulls %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endfor %}
{% endif %}
changelog_ignore:
description: Labels for issues and pull requests to be ignored (comma-delimited)
Expand Down
6 changes: 3 additions & 3 deletions test/action/test_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ def test_render():
Custom release notes
**Closed issues:**
- Issue title (#1)
**Merged pull requests:**
- Pull title (#3) (@author)
**Closed issues:**
- Issue title (#1)
"""
data = {
"compare_url": "https://github.com/Me/PkgName.jl/compare/v1.2.2...v1.2.3",
Expand Down

0 comments on commit 4a27437

Please sign in to comment.