chore(examples): improve Github templates#1249
Conversation
|
Thanks for opening this pull request! Please check out our contributing guidelines! ⛰️ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1249 +/- ##
==========================================
- Coverage 43.65% 43.48% -0.16%
==========================================
Files 22 22
Lines 1982 1978 -4
==========================================
- Hits 865 860 -5
- Misses 1117 1118 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Btw, something else, but I thought I can still ask here in the PR. (unless you want me to open an issue) I've noticed that git-cliff ignores the Either way, I was wondering whether we could make a similar change here in git-cliff as in rustypaste-cli: honor |
|
ok, here is the thing: we also use this in the other templates so we should update them too, if necessary (just search for Also the CI is failing because the fixture result has changed. You need to update the Sorry that it took so long. (excuse: I'm in China) |
Yeah, reasonable! Please do it! |
will do!
That's a bit weird, since the fixtures use their own templates. Not sure what's going on. I'll have to investigate.
No worries, my current sleep cycle is completely fucked up, so my responses also might take a while. e.g. I'm going to bed soon, so I will look into it in around 14h when I take a break from work... Man, have fun in China!
I'll create a separate PR. |
Hmm I think you are right... there must be another issue there. I realized we are hitting rate limits in CI, maybe that's why? (simply setting
No worries/rush! Man... sleep is really important. I recently started to get advice from ChatGPT about beating jetlag. New Zealand was pretty rough because of that...
Thanks! It's been great. Now I'm omw to Ankara. |
Done, but it was only on other file: While editing this file, something else came to mind. What do you think of the following? diff --git a/examples/github.toml b/examples/github.toml
index fa95719..386fe0d 100644
--- a/examples/github.toml
+++ b/examples/github.toml
@@ -12,7 +12,7 @@
body = """
## What's Changed
-{%- if version %} in {{ version }}{%- endif -%}
+{%- if version %} in {{ version | trim_start_matches(pat="v") }}{%- endif -%}
{% for commit in commits %}
{% if commit.remote.pr_title -%}
{%- set commit_message = commit.remote.pr_title -%}For user facing version representation the
👍 |
|
Hmm, maybe I have to propagate the value, e.g. calling the fixtures action with an argument. P.S.: No need for another parameter in the fixture-action. It seems that gh propagates env vars (which makes this less work. ;-)). |
|
oops, I've added your fix to my fix (the one you asked mw to remove). I had too many terminal sessions open. |
Yeah, that would be nice I think. |
orhun
left a comment
There was a problem hiding this comment.
LGTM
We can also do the v-stripping and rename this PR to "improve GitHub templates" or something
7a42504 to
bcd95c2
Compare
|
what about the 3 dots in the compare links? |
|
yeah that too |
The `New contributors` section should be within (under) the release section, but they were on the same level (`##`). This change adjusts the heading level to `###`. There was no empty line between the list of new contributors and the next release. There should also be an empty line before the footer. This change takes care of both of these cases. Strip the v from the version number. use ... in compare links
bcd95c2 to
f2f820a
Compare
|
Congrats on merging your first pull request! ⛰️ |
erify-world
left a comment
There was a problem hiding this comment.
I want to connect with builders, developers, and creators working with bots, automation, and AI. I’m building the ERIFY™ ecosystem and I’d love to share updates, learn from others, and contribute value to the Mastodon bot community.
|
nice try diddy |
Description
The
New contributorssection should be within (under) the release section, but they were on the same level (##).This change adjusts the heading level to
###.There was no empty line between the list of new contributors and the next release.
There should also be an empty line before the footer. This change takes care of both of these cases.
Motivation and Context
see orhun/systeroid#199 (comment)
How Has This Been Tested?
cargo test
manual test
Screenshots / Logs (if applicable)
Types of Changes
Checklist: