feat(repo): enforce schema validation on api return #506
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: PR title and template check | |
on: | |
pull_request: | |
branches: [master] | |
types: [opened, synchronize, edited] | |
jobs: | |
check_pr_title_template: | |
runs-on: ubuntu-latest | |
name: Run PR title and template check | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Validate Title of PR | |
run: node scripts/checkPrTitle.js --title="${{ github.event.pull_request.title }}" | |
- name: Validate Template completion of PR | |
if: false | |
run: node scripts/checkPrTemplate.js --body="${{ github.event.pull_request.body }}" |