We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1b355 commit 9f8db96Copy full SHA for 9f8db96
1 file changed
.github/workflows/relator.yml
@@ -0,0 +1,27 @@
1
+name: Relator
2
+
3
+on:
4
+ issues:
5
+ types: [opened, reopened]
6
+ pull_request_target:
7
+ types: [opened, reopened] # zizmor: ignore[dangerous-triggers]
8
9
+concurrency:
10
+ group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }}
11
+ cancel-in-progress: true
12
13
+permissions:
14
+ issues: read
15
+ pull-requests: read
16
17
+jobs:
18
+ notify:
19
+ name: "Telegram notification"
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - name: Send Telegram notification for new issue or pull request
23
+ uses: reagento/relator@4b1531359edba1228db0906e8931b0da2aef69cd # v1.7.0
24
+ with:
25
+ tg-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
26
+ tg-chat-id: ${{ vars.TELEGRAM_CHAT_ID }}
27
+ github-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments