From ece3cf31b17638b35a5ec78e2d5b69ca66ca6b50 Mon Sep 17 00:00:00 2001 From: Kevin Adler Date: Mon, 13 Jan 2020 16:08:54 -0600 Subject: [PATCH] ci: Add PR title linter following conventional commits See https://www.conventionalcommits.org/en/v1.0.0/ Follow-on to #86 --- .github/workflows/semantic-pull-requests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/semantic-pull-requests.yml diff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.yml new file mode 100644 index 00000000..819fd017 --- /dev/null +++ b/.github/workflows/semantic-pull-requests.yml @@ -0,0 +1,15 @@ +name: "Lint PR" +on: + pull_request: + types: + - opened + - edited + - synchronize + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v1.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}