cicd: precommit check for line endings + run in CI #26
Workflow file for this run
This file contains 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
name: Pull Request Has Priority Label | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
pr-priority-label: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
outputs: | |
status: ${{ steps.check-labels.outputs.status }} | |
steps: | |
- id: check-labels | |
uses: mheap/github-action-required-labels@v5 | |
with: | |
mode: exactly | |
count: 1 | |
labels: "priority:*" | |
use_regex: true | |
add_comment: true | |
message: "PRs require a priority label. Please add one." | |
exit_type: failure |