[LD-126] Improve PR template and ensure it is set correctly #7
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: Verify Pull-Request Description | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
permissions: read-all | |
jobs: | |
unit-tests: | |
name: Verify Pull-Request Description | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
build-tools/ | |
.github/ | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Verify PR | |
shell: bash | |
run: python "build-tools/verify-pr-description.py" | |
env: | |
TITLE: ${{ github.event.pull_request.title }} | |
BODY: ${{ github.event.pull_request.body }} |