refactor!: rename Iron Swarm to Agent Hardener #199
This file contains hidden or 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
| # 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, | |
| }); |