diff --git a/.github/workflows/telegram-alert.yml b/.github/workflows/telegram-alert.yml new file mode 100644 index 0000000..8a15cb7 --- /dev/null +++ b/.github/workflows/telegram-alert.yml @@ -0,0 +1,29 @@ +name: Telegram Alert + +on: + push: + branches: + - main + - master + - develop + pull_request: + branches: + - main + - master + - develop + types: [opened, synchronize, reopened, closed] + +jobs: + notify: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Send Telegram alert + uses: pphatdev/telegrambot-alert-action@v1 + with: + telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }} + telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }} + status: success + stage: Update diff --git a/.gitignore b/.gitignore index 7916cf2..dcaaa3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .github/scripts/dist/ node_modules/ -.claude/ \ No newline at end of file +.claude/ +DRAFT_PR.md \ No newline at end of file