name: Label Verification

on:
  pull_request:
   types: [opened, labeled, unlabeled, synchronize]

jobs:
  check_pr_labels:
    runs-on: ubuntu-latest
    name: Verify that the PR has a valid label
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Verify PR label action
        uses: actions/verify-pr-label-action@v1.0.0
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"
          valid-labels: 'bug, enhancement, change'

name: Label Verification

on:
  pull_request:
   types: [opened, labeled, unlabeled, synchronize]

jobs:
  check_pr_labels:
    runs-on: ubuntu-latest
    name: Verify that the PR has a valid label
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Verify PR label action
        uses: actions/verify-pr-label-action@v1.1.0
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"
          valid-labels: 'bug, enhancement, change'

Use latest action for verify-pr-label-action
Use latest action for verify-pr-label-action
