From cb516e0f7f635ccdff0e87248a196570efaa389f Mon Sep 17 00:00:00 2001 From: justusbunsi Date: Sun, 23 Feb 2025 14:05:51 +0000 Subject: [PATCH] chore: rerun commitlint check on PR title change (#804) This makes it easier for contributors. They don't need to update the branch itself by e.g. empty commits. However, it now triggers the commitlint even when the PR description is updated. Solution inspired by https://github.com/orgs/community/discussions/48695 and https://github.com/orgs/community/discussions/101695. Signed-off-by: justusbunsi Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/804 Reviewed-by: pat-s Co-authored-by: justusbunsi Co-committed-by: justusbunsi --- .gitea/workflows/commitlint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/commitlint.yml b/.gitea/workflows/commitlint.yml index 214fd36..b52cc38 100644 --- a/.gitea/workflows/commitlint.yml +++ b/.gitea/workflows/commitlint.yml @@ -4,6 +4,9 @@ on: pull_request: branches: - "*" + types: + - opened + - edited jobs: check-and-test: