Skip to content

docs: backport published slug and href fixes to release/0.5 #195

docs: backport published slug and href fixes to release/0.5

docs: backport published slug and href fixes to release/0.5 #195

# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: Forward merge alert
on:
issue_comment:
types: [created]
permissions:
contents: read
pull-requests: read
jobs:
notify:
name: Notify failed forward merge
if: >-
github.event.issue.pull_request != null &&
github.event.comment.user.login == 'rapids-bot[bot]' &&
startsWith(github.event.issue.title, 'Forward-merge ') &&
startsWith(github.event.comment.body, '**FAILURE** - Unable to forward-merge')
runs-on: ubuntu-latest
steps:
- name: Check out workflow revision
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
persist-credentials: false
- name: Send Slack alert
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
SLACK_ALERTS_WEBHOOK: ${{ secrets.SLACK_RELEASE_WEBHOOK }}
SLACK_ALERT_USERGROUP_ID: ${{ secrets.SLACK_ALERT_USERGROUP_ID }}
with:
script: |
const { sendForwardMergeAlert } = require("./.github/scripts/forward-merge-alert.cjs");
await sendForwardMergeAlert({
github,
context,
core,
env: process.env,
fetchImpl: fetch,
workspace: process.env.GITHUB_WORKSPACE,
});