19 lines
461 B
YAML
19 lines
461 B
YAML
name: Verify Issue Linking
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
types: [opened, edited, reopened, ready_for_review]
|
|
check_run:
|
|
|
|
jobs:
|
|
verify_linked_issue:
|
|
runs-on: ubuntu-latest
|
|
name: Ensure Pull Request has a linked issue.
|
|
if: github.event.pull_request.draft == false
|
|
steps:
|
|
- name: Verify Linked Issue
|
|
uses: hattan/verify-linked-issue-action@v1.1.0
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|