This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
build(deps): bump puma from 4.3.12 to 5.6.8 in /ci/sinatra #471
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow notifies slack if a failed backport PR is opened (aka in draft mode) | |
name: failed-backport-check | |
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: hashicorp/actions-slack-status@v1 | |
with: | |
failure-message: |- | |
<${{github.event.pull_request.url}}|${{github.event.pull_request.title}}> #${{github.event.pull_request.id}} failed to apply and was left in a *draft* state. | |
status: failure | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
permissions: | |
contents: read | |