From 8fc25d7fd4df0092fbb9811c0c9b3352087894f3 Mon Sep 17 00:00:00 2001 From: Gideon <87426140+GideonBear@users.noreply.github.com> Date: Sun, 2 Nov 2025 15:01:22 +0100 Subject: [PATCH] ci: Enforce conventional commits in PR titles (#1418) --- .github/workflows/lint_pr.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/lint_pr.yml diff --git a/.github/workflows/lint_pr.yml b/.github/workflows/lint_pr.yml new file mode 100644 index 00000000..65e72ee9 --- /dev/null +++ b/.github/workflows/lint_pr.yml @@ -0,0 +1,19 @@ +name: 'Lint PR' + +on: + pull_request_target: + types: + - opened + - edited + - reopened + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}