Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/relator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
issues:
types: [opened, labeled, reopened]
pull_request_target:
types: [opened, reopened] # zizmor: ignore[dangerous-triggers]
types: [opened, reopened] # zizmor: ignore[dangerous-triggers]

concurrency:
group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }}
Expand All @@ -17,23 +17,24 @@ permissions:
jobs:
notify:
name: "Send Telegram notification for new issue or opened pull request"
if: github.event.action == 'opened' || github.event.action == 'reopened'
if: github.actor != 'dependabot[bot]' && (github.event.action == 'opened' || github.event.action == 'reopened')
runs-on: ubuntu-latest
steps:
- name: Send Telegram notification for new issue or opened pull request
uses: reagento/relator@0942904cfa8775e115be93f3a1e39b365178d8f0 # v1.5.1
uses: reagento/relator@0942904cfa8775e115be93f3a1e39b365178d8f0 # v1.5.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but this things autogenerated and extra space may break something.

https://github.com/faststream-community/dishka-faststream/pull/22/files

with:
tg-bot-token: ${{ secrets.TELEGRAM_TOKEN }}
tg-chat-id: ${{ secrets.TELEGRAM_TO }}
github-token: ${{ secrets.GITHUB_TOKEN }}
join-input-with-list: "1"

notify-oss-board:
name: "Send Telegram notification to OSS board"
if: github.event_name == 'issues' && github.event.label.name == 'good first issue'
runs-on: ubuntu-latest
steps:
- name: Send Telegram notification to OSS board
uses: reagento/relator@0942904cfa8775e115be93f3a1e39b365178d8f0 # v1.5.1
uses: reagento/relator@0942904cfa8775e115be93f3a1e39b365178d8f0 # v1.5.1
with:
tg-bot-token: ${{ secrets.TELEGRAM_TOKEN }}
tg-chat-id: ${{ secrets.GFI_CHAT }}
Expand Down