From 7a9b2f12a22fc253fc8b52d2f0f0f5fca5dfbe2a Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 15 Feb 2026 11:55:37 +0000 Subject: [PATCH] ci: add PR title lint rule Signed-off-by: Xe Iaso --- .github/workflows/lint-pr-title.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/lint-pr-title.yaml diff --git a/.github/workflows/lint-pr-title.yaml b/.github/workflows/lint-pr-title.yaml new file mode 100644 index 00000000..eb6afed0 --- /dev/null +++ b/.github/workflows/lint-pr-title.yaml @@ -0,0 +1,20 @@ +name: "Lint PR" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + - reopened + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}