diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d1a39006df..df2404f746 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,6 +3,7 @@ ###### Required only if applicable _You can erase any checkboxes below this note if they are not applicable to your Pull Request._ +- [ ] [Well-formatted commit messages](https://www.conventionalcommits.org/en/v1.0.0/) - [ ] [InfluxQL Spec](https://github.com/influxdata/influxql/blob/master/README.md) updated - [ ] Provide example syntax - [ ] Update man page when modifying a command diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml new file mode 100644 index 0000000000..5fbae6dc99 --- /dev/null +++ b/.github/workflows/semantic.yml @@ -0,0 +1,10 @@ +--- +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