release workflow fails without a fully specified CTK, but other parts of it still succeed, putting the release in an inconsistent state #636
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) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Add Triage Label | |
| on: | |
| issues: | |
| types: | |
| - reopened | |
| - opened | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Add or check for existing labels | |
| # add the triage label only if no label has been added | |
| if: ${{ github.event.issue.labels[0] == null }} | |
| run: gh issue edit "$NUMBER" --add-label "triage" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} |