Skip to content

docs: update Google site verification file #4390

docs: update Google site verification file

docs: update Google site verification file #4390

name: Notify Slack on Merge Train Events
on:
pull_request:
types: [dequeued, closed]
jobs:
notify-dequeued:
name: Notify Slack (Dequeued)
runs-on: ubuntu-latest
if: github.event.action == 'dequeued' && startsWith(github.event.pull_request.head.ref, 'merge-train/') && github.event.pull_request.merged != true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Send Slack notification
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
REF_NAME: ${{ github.event.pull_request.head.ref }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: ./ci3/merge_train_failure_slack_notify --dequeued
notify-merged:
name: Notify Slack (Merged)
runs-on: ubuntu-latest
if: github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'merge-train/')
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
- name: Send Slack notification
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
REF_NAME: ${{ github.event.pull_request.head.ref }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: ./ci3/merge_train_failure_slack_notify --merged