Skip to content

Commit

Permalink
Merge pull request impstation#1024 from irismessage/disable-webhook-d…
Browse files Browse the repository at this point in the history
…ebug

Disable webhook debug
  • Loading branch information
Darkmajia authored Dec 14, 2024
2 parents 1ba6f38 + a4eda0f commit d97df3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/actions_changelogs_since_last_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import requests
import yaml

DEBUG = True
DEBUG = False
DEBUG_CHANGELOG_FILE_OLD = Path("../Changelog-Impstation-old.yml")
GITHUB_API_URL = os.environ.get("GITHUB_API_URL", "https://api.github.com")

Expand Down Expand Up @@ -171,7 +171,7 @@ def changelog_entries_to_message_lines(entries: Iterable[ChangelogEntry]) -> lis

# if a single line is longer than the limit, it needs to be truncated
if len(message) > DISCORD_SPLIT_LIMIT:
message = message[: DISCORD_SPLIT_LIMIT - 100] + " [...]"
message = message[: DISCORD_SPLIT_LIMIT - 100].rstrip() + " [...]"

if url is not None:
line = f"{emoji} - {message} [PR]({url}) \n"
Expand Down

0 comments on commit d97df3c

Please sign in to comment.