Allow the default_command
displayed on failure to be overridden at the command line
#526
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: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
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_pr_labels "$(gh pr view --json labels ${{ github.event.pull_request.number }})" |