Add custom url (#44)

* add custom_html_url parameter

* Update action.yml

* Update README.md

* Update test.yml

* fix: fixed embedMsg url property

---------

Co-authored-by: SethCohen <47002293+SethCohen@users.noreply.github.com>
This commit is contained in:
meatvegsandwich
2025-06-17 00:28:13 -04:00
committed by GitHub
co-authored by SethCohen
parent 74ded4247d
commit 9fe781fdc7
4 changed files with 10 additions and 1 deletions
+3
View File
@@ -185,6 +185,9 @@ const buildEmbedMessage = (name, html_url, description) => {
footer: {}
};
if (core.getInput('custom_html_url')) {
embedMsg.url = core.getInput('custom_html_url');
}
if (core.getInput('footer_title')) {
embedMsg.footer.text = limitString(core.getInput('footer_title'), 2048);
}