From dab344363f426fda78038005b4eda13ec29aa69f Mon Sep 17 00:00:00 2001 From: Tyson Kamp Date: Wed, 11 May 2022 12:13:07 -0700 Subject: [PATCH] refactor: Deprecate and remove semantic-pull-requests, insert influxdata replacement reusable workflow solution. --- .github/semantic.yml | 3 --- .github/workflows/semantic.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 3 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 72c4fa0c..00000000 --- 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 00000000..7dc9f439 --- /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 +