Skip to content

Commit

Permalink
Chore: add repo name in slack message (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
zherner authored Mar 25, 2024
1 parent 01a4aa8 commit 7250759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release_helper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ def send_slack_message(release_draft: GitRelease, issues: list[IssueIssue]):

release_title = release_draft.title
release_url = release_draft.html_url
repository = os.environ.get("GITHUB_REPOSITORY")

blocks = [
{
"type": "header",
"text": {
"type": "plain_text",
"text": f"Draft Release: {release_title}",
"text": f"{repository} Draft Release: {release_title}",
"emoji": True,
},
},
Expand Down

0 comments on commit 7250759

Please sign in to comment.