--reload queues every open and close event because FileWatcher is scheduled without event_filter #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Relator | |
| 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 }} |