Pull Request Labels #2426
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 Labels | |
on: | |
pull_request_review: | |
types: [submitted] | |
pull_request: | |
types: [labeled, unlabeled, synchronize] | |
jobs: | |
check-labels: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for Pull Request Labels | |
shell: bash | |
run: | | |
bin/check_labels "$(gh pr view --json labels ${{ github.event.pull_request.number }})" |