Skip to content

Commit

Permalink
Add a PR validator to the workflow (#528)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhiy Zahoriya <[email protected]>
  • Loading branch information
Fris0uman and int-ua authored Feb 15, 2021
1 parent a9ac114 commit faa58ee
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr_validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR Validator
on:
pull_request:
branches:
- master
types: [opened, edited, synchronize]
jobs:
validate:
name: Validate PR
runs-on: ubuntu-latest
steps:
- name: "Validate SUMMARY"
uses: CleverRaven/pr-validator@master
with:
description-regex: '(\n|^)#### Summary\s+(None|((Ultica|Ultica-iso|Chibi-Ultica|NeoDays|MSX|BLB|Chesthole|Infrastructure) +".*"))\s*(\n|$)'
description-regex-flags: 'i'

0 comments on commit faa58ee

Please sign in to comment.