Bulk actions as single actions #101
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
# This workflow runs on any change made to a pull-request and aims to verify | |
# that the correct label is present. | |
name: Check proper lable usage | |
on: | |
pull_request_target: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
labels: | |
runs-on: ubuntu-latest | |
steps: | |
# Ensure that one of the required labels is present and none of the undesired is absent | |
# See https://github.com/jesusvasquez333/verify-pr-label-action | |
- name: Verify PR label action | |
uses: jesusvasquez333/verify-pr-label-action@v1.4.0 | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' | |
valid-labels: 'type:accessibility, type:bug, type:dependencies, type:documentation, type:enhancement, type:feature, type:infrastructure, type:mobile, type:security, type:tests, type:usability, type:visual-clarity' | |
invalid-labels: 'status:duplicate, status:conflicts, status:wontfix, status:backlog, status:feedback-required, status:needs-testing, status:user-story' | |
pull-request-number: '${{ github.event.pull_request.number }}' | |
disable-reviews: true |