Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter labels in release diff #566

Merged
merged 1 commit into from
Dec 21, 2024
Merged
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
113 changes: 111 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,93 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: GraphNeuralNetworks
changelog: |
{% if previous_release %}
[Diff since {{ previous_release }}]({{ compare_url }})
{% endif %}

{% if custom %}
{{ custom }}
{% endif %}

{% if backport %}
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
{% endif %}
{% if pulls %}
**Merged pull requests:**
{% for pull in pulls %}
{% if "gnnlib" in pull.labels or "gnngraphs" in pull.labels or "flux" in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endif %}
{% endfor %}
{% endif %}

{% if issues %}
**Closed issues:**
{% for issue in issues %}
{% if "gnnlib" in issue.labels or "gnngraphs" in issue.labels or "flux" in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endif %}
{% endfor %}
{% endif %}

{% if backport %}
-->
{% endif %}

- name: Tag GNNlib
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: GNNlib
changelog: |
{% if previous_release %}
[Diff since {{ previous_release }}]({{ compare_url }})
{% endif %}

{% if custom %}
{{ custom }}
{% endif %}

{% if backport %}
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
{% endif %}
{% if pulls %}
**Merged pull requests:**
{% for pull in pulls %}
{% if "gnnlib" in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endif %}
{% endfor %}
{% endif %}

{% if issues %}
**Closed issues:**
{% for issue in issues %}
{% if "gnnlib" in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endif %}
{% endfor %}
{% endif %}

{% if backport %}
-->
{% endif %}

- name: Tag GNNGraphs
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: GNNGraphs
changelog: |
## {{ package }} {{ version }}

{% if previous_release %}
[Diff since {{ previous_release }}]({{ compare_url }})
{% endif %}
Expand Down Expand Up @@ -81,9 +153,46 @@ jobs:
{% if backport %}
-->
{% endif %}

- name: Tag GNNLux
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: GNNLux
changelog: |
{% if previous_release %}
[Diff since {{ previous_release }}]({{ compare_url }})
{% endif %}

{% if custom %}
{{ custom }}
{% endif %}

{% if backport %}
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
{% endif %}
{% if pulls %}
**Merged pull requests:**
{% for pull in pulls %}
{% if "gnnlib" in pull.labels or "gnngraphs" in pull.labels or "lux" in pull.labels %}
- {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }})
{% endif %}
{% endfor %}
{% endif %}

{% if issues %}
**Closed issues:**
{% for issue in issues %}
{% if "gnnlib" in issue.labels or "gnngraphs" in issue.labels or "lux" in issue.labels %}
- {{ issue.title }} (#{{ issue.number }})
{% endif %}
{% endfor %}
{% endif %}

{% if backport %}
-->
{% endif %}
Loading