From 22f31967732d9c13ec4552cd9c78ca43aea4a968 Mon Sep 17 00:00:00 2001 From: Tyson Kamp Date: Tue, 26 Apr 2022 11:01:18 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20Adding=20influx's=20semantic=20commit?= =?UTF-8?q?=20and=20PR=20message=20checker,=20so=20we=20=E2=80=A6=20(#1100?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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) --- .github/workflows/semantic.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/semantic.yml diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml new file mode 100644 index 0000000000000..58e68ed9f8ba0 --- /dev/null +++ b/.github/workflows/semantic.yml @@ -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