From 939623c2ef72147d87727a66fe632c2714ab68c2 Mon Sep 17 00:00:00 2001 From: EGAMAGZ <46827955+EGAMAGZ@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:03:03 -0600 Subject: [PATCH 1/2] ci: Add PR title linting workflow --- .github/workflows/title.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/title.yml diff --git a/.github/workflows/title.yml b/.github/workflows/title.yml new file mode 100644 index 00000000..b39f5f6e --- /dev/null +++ b/.github/workflows/title.yml @@ -0,0 +1,36 @@ +name: "Lint PR title" + +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 }} + with: + types: | + BREAKING + [unstable] BREAKING + deprecation + [unstable] deprecation + feat + fix + docs + refactor + perf + test + ci + chore + revert + requireScope: false From 95e34c03c3ed3f55e2a2a21e66ffba933b8b57a3 Mon Sep 17 00:00:00 2001 From: Gamaliel Garcia <46827955+EGAMAGZ@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:11:29 -0600 Subject: [PATCH 2/2] chore: Update .github/workflows/title.yml Co-authored-by: Leo Kettmeir --- .github/workflows/title.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/title.yml b/.github/workflows/title.yml index b39f5f6e..b13bbac2 100644 --- a/.github/workflows/title.yml +++ b/.github/workflows/title.yml @@ -21,9 +21,7 @@ jobs: with: types: | BREAKING - [unstable] BREAKING deprecation - [unstable] deprecation feat fix docs