From ce8cb7b30912218fb0639e193f8278fb51217ef7 Mon Sep 17 00:00:00 2001 From: Jacob Marble Date: Wed, 20 Apr 2022 07:54:54 -0700 Subject: [PATCH] chore: add semantic PR and commit message checks (#43) --- .github/semantic.yml | 4 ---- .github/workflows/semantic.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 .github/semantic.yml create mode 100644 .github/workflows/semantic.yml diff --git a/.github/semantic.yml b/.github/semantic.yml deleted file mode 100644 index 4234d44..0000000 --- a/.github/semantic.yml +++ /dev/null @@ -1,4 +0,0 @@ -# docs: https://github.com/probot/semantic-pull-requests#configuration -# Always validate the PR title AND all the commits -titleAndCommits: true -allowMergeCommits: true diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml new file mode 100644 index 0000000..9165d5b --- /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 \ No newline at end of file