Specify in Readme that global rubocop command is not supported #1466
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] | |
jobs: | |
check-labels: | |
if: github.event.review.state == 'APPROVED' | |
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 }})" |