Skip to content

Commit

Permalink
add PR template validation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenkilbourn committed Nov 28, 2023
1 parent f0c0418 commit d37c4e4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Why are you creating this Pull Request?

### Please select one of the following links and follow the provided template

- [Adding Datasets or Stories](?title=Content%3A%20%3Cname%3E&expand=1&template=content.md)
- [Version Release](?title=Deploy%20vX.X.X&expand=1&template=version_release.md)
- [Other](?expand=1&template=default.md)
19 changes: 19 additions & 0 deletions .github/workflows/pr-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'PR description checker'
on:
pull_request:
types:
- opened
- edited
- reopened
- labeled
- unlabeled

jobs:
check-pr-description:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jadrol/pr-description-checker-action@v1.0.0
id: description-checker
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d37c4e4

Please sign in to comment.