Compare commits

...

9 Commits

Author SHA1 Message Date
Ashwin Bhatkal
d7be048e7f chore: update yaml 2026-03-13 19:54:32 +05:30
Ashwin Bhatkal
e30daad18e chore: update yaml 2026-03-13 19:52:04 +05:30
Ashwin Bhatkal
9af34d5f66 chore: update yaml 2026-03-13 19:48:29 +05:30
Ashwin Bhatkal
6c56d64251 chore: update yaml 2026-03-13 19:41:17 +05:30
Ashwin Bhatkal
5d1888ecb7 chore: update yaml 2026-03-13 19:16:56 +05:30
Ashwin Bhatkal
e691cb7f87 chore: update yaml 2026-03-13 19:02:34 +05:30
Ashwin Bhatkal
a144d5ede1 chore: update yaml 2026-03-13 18:48:14 +05:30
Ashwin Bhatkal
3c3ceb0b9f chore: break type 2026-03-13 18:31:12 +05:30
Ashwin Bhatkal
2ae35dd15e chore: add slack notification on merge queue failure 2026-03-13 18:28:38 +05:30

View File

@@ -0,0 +1,59 @@
name: Notify on Dequeue from Merge Queue
on:
pull_request:
types:
- dequeued
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Slack alert
uses: slackapi/slack-github-action@v2.1.1
with:
webhook: ${{ secrets.SLACK_MERGE_QUEUE_WEBHOOK }}
webhook-type: incoming-webhook
payload: |
{
"text": ":x: PR removed from merge queue",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": ":x: PR Removed from Merge Queue"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*<${{ github.event.pull_request.html_url }}|PR #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}>*"
}
},
{
"type": "divider"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Author*\n@${{ github.event.pull_request.user.login }}"
}
]
}
]
}
- name: Post PR comment
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: |
gh api repos/${{ github.repository }}/issues/$PR_NUMBER/comments \
-f body="> :x: **PR removed from merge queue**
>
> @$PR_AUTHOR your PR was removed from the merge queue. Fix the issue and re-queue when ready."