From 09a250a5f2967c8648053becd1c032691698a8e0 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Thu, 5 Oct 2023 10:22:20 -0400 Subject: [PATCH] feat(CI): add Lint PR workflow (#3) - https://github.com/tremorlabs/tremor/blob/7bfe6ba279c7c8ff93def4163ae8ca86803589ae/.github/workflows/lint.yaml --- .github/workflows/conventional-pr.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/conventional-pr.yml diff --git a/.github/workflows/conventional-pr.yml b/.github/workflows/conventional-pr.yml new file mode 100644 index 0000000..4768b41 --- /dev/null +++ b/.github/workflows/conventional-pr.yml @@ -0,0 +1,23 @@ +name: "Lint PR" + +on: + pull_request: + types: + - opened + - edited + - synchronize + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + lint-pr: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - name: Lint PR + uses: amannn/action-semantic-pull-request@v4.6.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}