Skip to content

Commit ab8505b

Browse files
authored
use rh v4.1 (#29)
1 parent cfa94d4 commit ab8505b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

action.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ runs:
2222
uses: actions/checkout@v4
2323
with:
2424
repository: noviconnect/release_helper
25-
ref: v4
25+
ref: v4.1
2626

2727
- name: Set up Python
2828
uses: actions/setup-python@v5
2929
with:
3030
python-version: '3.12'
3131

3232
- name: Install Poetry
33-
uses: snok/install-poetry@v1
33+
uses: abatilo/actions-poetry@v3
3434

3535
- name: Run release_helper module
3636
shell: bash
3737
run: |
38+
# running release_helper
3839
poetry install -q
3940
poetry run python src/release_helper/main.py
4041
env:

src/release_helper/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ def process_potential_release() -> None:
6565
for issue in issues:
6666
if issue.state.type != "completed":
6767
block = slack.generate_user_message(issue)
68-
channel = settings.helper.slack.channels[issue.team.key.casefold()]
68+
channel = settings.helper.slack.channels.get(
69+
issue.team.key.casefold(), settings.helper.slack.deploy_channel
70+
)
6971
slack.send_blocks(channel=channel, blocks=[block], text="")
7072

7173
logger.info("Ticket Status messages sent.")

0 commit comments

Comments
 (0)