Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Backport docs updates #458

Backport docs updates

Backport docs updates #458

# This workflow notifies slack if a failed backport PR is opened (aka in draft mode)
on:
pull_request_target:
types: [opened]
jobs:
# checks that a .changelog entry is present for a PR
failed-backport-check:
# We only run if it has "Backport" in the title and is a draft PR (as all failed backports will be)
if: "contains(github.event.pull_request.title, 'Backport') && github.event.pull_request.draft"
runs-on: ubuntu-latest
steps:
- name: Notify Slack on failed Backport PRs
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}