From 9c684dd4bfa101e8dda5c5a362ba79427f35381a Mon Sep 17 00:00:00 2001 From: Domen Gabrovsek Date: Sun, 1 Mar 2026 10:45:05 +0100 Subject: [PATCH] feat: remove pr labeled because it added too much noise --- .github/workflows/notifications.yml | 2 +- .github/workflows/notify.yml | 9 +-------- .github/workflows/pr-labeled.yml | 26 -------------------------- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/pr-labeled.yml diff --git a/.github/workflows/notifications.yml b/.github/workflows/notifications.yml index e86e19e..6365d38 100644 --- a/.github/workflows/notifications.yml +++ b/.github/workflows/notifications.yml @@ -8,7 +8,7 @@ name: Notifications on: pull_request: - types: [opened, closed, synchronize, labeled, review_requested] + types: [opened, closed, synchronize, review_requested] branches: [main, master] issue_comment: types: [created] diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index c8f85f0..e116242 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -9,7 +9,7 @@ # name: Notifications # on: # pull_request: -# types: [opened, closed, synchronize, labeled, review_requested] +# types: [opened, closed, synchronize, review_requested] # branches: [main, master] # issue_comment: # types: [created] @@ -69,13 +69,6 @@ jobs: api_url: ${{ inputs.api_url }} chat_id: ${{ inputs.chat_id }} - pr-labeled: - if: github.event_name == 'pull_request' && github.event.action == 'labeled' - uses: domengabrovsek/github-actions/.github/workflows/pr-labeled.yml@master - with: - api_url: ${{ inputs.api_url }} - chat_id: ${{ inputs.chat_id }} - pr-review-requested: if: github.event_name == 'pull_request' && github.event.action == 'review_requested' uses: domengabrovsek/github-actions/.github/workflows/pr-review-requested.yml@master diff --git a/.github/workflows/pr-labeled.yml b/.github/workflows/pr-labeled.yml deleted file mode 100644 index 9f6e2c5..0000000 --- a/.github/workflows/pr-labeled.yml +++ /dev/null @@ -1,26 +0,0 @@ -# ============================================== -# PR Labeled Notification -# ============================================== -# Reusable workflow for PR labeled notifications - -name: PR Labeled Notification - -on: - workflow_call: - inputs: - api_url: - required: true - type: string - description: 'Telegram API webhook URL' - chat_id: - required: true - type: string - description: 'Telegram chat ID to send notifications to' - -jobs: - notify: - uses: domengabrovsek/github-actions/.github/workflows/send-telegram-message.yml@master - with: - api_url: ${{ inputs.api_url }} - chat_id: ${{ inputs.chat_id }} - message: "šŸ·ļø PR Labeled\n\nšŸ“ Title: ${{ github.event.pull_request.title }}\nšŸ·ļø Label: ${{ github.event.label.name }}\nšŸ‘¤ Author: ${{ github.event.pull_request.user.login }}\nšŸ”— Link: ${{ github.event.pull_request.html_url }}\nšŸ“Š Repository: ${{ github.repository }}"