Only check for RISCV if running a make target that references it #1980
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
| # adapted from https://github.com/chipsalliance/chisel/blob/main/.github/workflows/require-label.yml | |
| name: Require Release Notes Label | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - labeled | |
| - unlabeled | |
| jobs: | |
| check_labels: | |
| name: Check Labels | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: docker://agilepathway/pull-request-label-checker:v1.4.25 | |
| with: | |
| one_of: changelog:added,changelog:changed,changelog:fixed,changelog:omit,changelog:removed | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} |