chore: Adding influx's semantic commit and PR message checker, so we … (#11009)

* chore: Adding influx's semantic commit and PR message checker, so we can deprecate semantic-pull-requests

* feat: change commit history for semantic validation to 1 (last commit)
This commit is contained in:
Tyson Kamp 2022-04-26 11:01:18 -07:00 committed by GitHub
parent a6f278a5ea
commit c8aba006dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
.github/workflows/semantic.yml vendored Normal file
View File

@ -0,0 +1,13 @@
---
name: "Semantic PR and Commit Messages"
on:
pull_request:
types: [opened, reopened, synchronize, edited]
jobs:
semantic:
uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main
# optional; 250 is default and max
with:
COMMITS_HISTORY: 1