From f3863b10dfe6d3db937acc7e90ac5d3b72cd1b3e Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 22 Jun 2022 15:23:10 -0400 Subject: [PATCH] chore: lint PR titles --- .github/workflows/pr-title.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pr-title.yml diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 0000000000..3d15f296f3 --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,17 @@ +name: Lint PR + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file