diff --git a/.github/semantic.yml b/.github/semantic.yml deleted file mode 100644 index 72c4fa0c9..000000000 --- a/.github/semantic.yml +++ /dev/null @@ -1,3 +0,0 @@ -# docs: https://github.com/probot/semantic-pull-requests#configuration -# Always validate the PR title AND all the commits -titleAndCommits: true diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml new file mode 100644 index 000000000..7dc9f439d --- /dev/null +++ b/.github/workflows/semantic.yml @@ -0,0 +1,15 @@ +--- +name: "Semantic PR and Commit Messages" + +on: + pull_request: + types: [opened, reopened, synchronize, edited] + branches: + - master + +jobs: + semantic: + uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main + with: + CHECK_PR_TITLE_OR_ONE_COMMIT: true +