Skip to content

Commit ddc3ea9

Browse files
committed
chore: set custom HTML config
1 parent 8b4afae commit ddc3ea9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/relator.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
1-
name: Event Notifier
1+
name: Relator
22

33
on:
44
issues:
55
types: [labeled]
66

7-
concurrency:
8-
group: ${{ github.workflow }}-${{ github.event.issue.number }}
9-
cancel-in-progress: true
10-
117
permissions:
128
issues: read
139

1410
jobs:
1511
notify:
1612
name: "Telegram notification"
13+
if: github.event.label.name == 'help wanted'
1714
runs-on: ubuntu-latest
1815
timeout-minutes: 2
1916
steps:
2017
- name: Send Telegram notification for new issue
21-
uses: reagento/relator@983edccef69ef9a25b97552daaeaf0f183b470f4 # v1.5.0
22-
if: contains(github.event.issue.labels.*.name, 'help wanted')
18+
uses: reagento/relator@0942904cfa8775e115be93f3a1e39b365178d8f0 # v1.5.1
2319
with:
2420
tg-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
2521
tg-chat-id: "@opensource_findings_python"
2622
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
html-template: "<b>New issue to <a href=/{repository}>{repository}</a> by <a href=/{user}>@{user}</a> </b><br/><b>{title}</b> (<a href='{url}'>#{id}</a>)<br/>{body}#django_modern_rest {labels}<br/>{promo}"

0 commit comments

Comments
 (0)