Issue triage - cla-bot[bot] - #1869: Data contract views #2212
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
| # **what?** | |
| # Automatically swaps issue labels when an issue with 'triage:awaiting-response' receives a comment. | |
| # **why?** | |
| # Streamlines the triage process by automatically moving issues from awaiting response to product review. | |
| # **when?** | |
| # This workflow runs when a comment is added to an issue that has the 'triage:awaiting-response' label. | |
| name: "Issue triage" | |
| run-name: "Issue triage - ${{ github.actor }} - #${{ github.event.issue.number }}: ${{ github.event.issue.title }}" | |
| on: issue_comment | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| issues: write | |
| jobs: | |
| triage: | |
| if: contains(github.event.issue.labels.*.name, 'triage:awaiting-response') | |
| uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main | |
| with: | |
| add_label: "triage:product" | |
| remove_label: "triage:awaiting-response" | |
| secrets: inherit |