SethCohen
60ef92f147
feat(tests): add test for handling release payload with null body and update formatDescription to handle undefined input. resolves #53
2026-04-03 12:54:06 -04:00
SethCohen
e15eb81a91
feat: add manual dispatch support for GitHub Actions to test Discord webhook integration with optional release inputs. resolves #52
2026-04-03 12:42:38 -04:00
SethCohen
80aca15d72
feat: enhance reduceHeadings function to handle indented and closed markdown headings and add tests for new functionality. resolves #51
2026-04-03 12:32:35 -04:00
SethCohen
0559b87ee8
feat(tests): add Jest configuration and comprehensive tests for utility functions in index.js to ensure functionality and reliability
...
chore(package): update @actions/github dependency to version 6.0.1 and add Jest as a dev dependency with a test script
2025-06-17 02:47:56 -04:00
SethCohen
feb5a40237
feat(index.js): enhance sendWebhook function to handle rate limits with retries for improved reliability when sending requests to Discord
2025-06-17 00:46:40 -04:00
meatvegsandwich and SethCohen
9fe781fdc7
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 >
2025-06-17 00:28:13 -04:00
SethCohen
74ded4247d
Add option to strip PR and commit links ( #48 )
...
* feat: add option to remove PR and commit links
* feat(github-action): rename input from remove_pr_commit_links to remove_github_reference_links for clarity and expand functionality to include issue links
fix(github-action): update removeGithubReferenceLinks function to remove all GitHub PR, commit, and issue links from the text, including markdown links
resolves #41
2025-06-17 00:10:47 -04:00
SethCohen
47869497ed
fix: correct conversion of standalone PR, issue, and changelog URLs to markdown format
...
resolves #38
2024-10-18 00:02:43 -04:00
SethCohen
07c2e1c3e6
feat: add function to convert PR, issue, and changelog links to markdown format
...
resolves #32
2024-10-17 23:07:57 -04:00
Doug Richar
925765f099
fix: improve @mention parsing for GitHub usernames ( #33 )
...
- Update regex to correctly identify valid GitHub usernames
- Prevent false positives for package names and email addresses
- Exclude matches within code snippets, URLs, and Markdown links
2024-10-17 21:08:36 -04:00
SethCohen
5ca1453a69
refactor: code cleanup
2024-10-04 17:42:25 -04:00
Kamron Batman
940a1bd2d2
Adds usernames to formatDescription ( #28 )
...
* Adds usernames to formatDescription
* Formatting
2024-10-04 08:40:24 -04:00
Ryan Hullah
97a481333d
feat: added clip description at last newline ( #25 )
2023-12-14 16:10:43 -05:00
Ryan Hullah
8ca9da2ca8
feat: added additional description formatting ( #23 )
...
remove: removed HTML comments added by the 'Generate release notes' button
feat: description trimming
style: reduce consecutive whitespace/newlines into a minimum of 2 to allow separation in paragraphs
style: parse common Github URLs to more appropriate display
feat: added max_description option
feat: added reduce_headings option
2023-12-11 11:18:02 -05:00
Shon
f228faeb5e
Implement more functions ( #20 )
...
* Send the release title instead of version
& remove the `Release` text
* Ability to use the existing Discord user & avatar
* fix
* Support for adding a footer
* Update index.js
* Update index.js
* Update index.js
* Updated docs
* Support for footer timestamps
* Support for sending normal text above the embed
useful for pings
2023-09-23 12:18:00 -04:00
SethCohen
e67e0f9064
refactor: added JSDocs, created more descriptive functions
2022-08-24 20:51:13 -04:00
Ciaran Moran
998060befe
refactor: rename variables returned from getContext
2022-08-24 21:19:37 +01:00
SethCohen
a0914f433a
feat: renamed all colour>color
2022-08-24 01:18:46 -04:00
SethCohen
233db9c33f
fix: fixed ReferenceError on require vs import
2022-08-24 01:00:48 -04:00
SethCohen
0e4e0d83ff
fix: fixed fetch import
2022-08-24 00:46:44 -04:00
SethCohen
6cf9efb8f6
feat: updated action description format
2022-08-24 00:21:19 -04:00
SethCohen
9c4c902465
feat: updated action description format
2022-08-24 00:17:20 -04:00
SethCohen
c517936fef
feat: updated action description format
2022-08-24 00:15:15 -04:00
SethCohen
7effb69a75
feat: updated action description format
2022-08-24 00:08:56 -04:00
SethCohen
9f49b0c9ab
feat: updated action description format
2022-08-24 00:05:19 -04:00
SethCohen
4517d8d0ec
feat: updated description
2022-08-23 23:35:30 -04:00
SethCohen
a1d7a74af9
feat: updated description format
2022-08-23 23:30:39 -04:00
SethCohen
b612527333
feat: updated action
2022-08-23 23:19:34 -04:00
SethCohen
1493174a77
feat: updated action
2022-08-23 22:32:21 -04:00
SethCohen
6df1acd6c0
My first action is ready
2022-08-23 22:02:23 -04:00