From 87f006b7841f491cebb20534b0fd70e1e90f9c5c Mon Sep 17 00:00:00 2001 From: Max VelDink Date: Wed, 14 Feb 2024 15:28:58 -0500 Subject: [PATCH] ci: Add PR lint GH action --- .github/lint-pr-title.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/lint-pr-title.yml diff --git a/.github/lint-pr-title.yml b/.github/lint-pr-title.yml new file mode 100644 index 0000000..d54e174 --- /dev/null +++ b/.github/lint-pr-title.yml @@ -0,0 +1,20 @@ +name: "Lint PR" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}