Skip to content

fix: make PrometheusMiddleware import-safe (fix #397) #54

fix: make PrometheusMiddleware import-safe (fix #397)

fix: make PrometheusMiddleware import-safe (fix #397) #54

Workflow file for this run

name: Relator

Check warning on line 1 in .github/workflows/relator.yml

View workflow run for this annotation

GitHub Actions / Relator

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
issues:
types: [opened, reopened]
pull_request_target:
types: [opened, reopened] # zizmor: ignore[dangerous-triggers]
concurrency:
group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }}
cancel-in-progress: true
permissions:
issues: read
pull-requests: read
jobs:
notify:
name: "Telegram notification"
runs-on: ubuntu-latest
steps:
- name: Send Telegram notification for new issue or pull request
uses: reagento/relator@4b1531359edba1228db0906e8931b0da2aef69cd # v1.7.0
with:
tg-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
tg-chat-id: ${{ vars.TELEGRAM_CHAT_ID }}
github-token: ${{ secrets.GITHUB_TOKEN }}