blob: c2dfe930107b0fe639f7330f081bb03e664c4f1d [file] [log] [blame]
name: Check PR has Bug
on:
pull_request:
types: [labeled]
jobs:
pr_has_bug:
runs-on: ubuntu-latest
name: PR has Bug
steps:
- name: Check for BUG=
if: ${{ !contains(github.event.pull_request.body, 'BUG=') }}
run: |
echo "PR description requires a BUG= line with issue number."
echo "See https://testing.googleblog.com/2017/09/code-health-providing-context-with.html for additional context"
exit 1