From 36f4b77cba9c84ba4df4bd1cfd7482515d95a515 Mon Sep 17 00:00:00 2001 From: LoricAndre Date: Tue, 26 Nov 2024 18:03:31 +0100 Subject: [PATCH] merge master --- .github/pr-title-checker-config.json | 6 +++--- .github/pull_request_template.md | 1 - .github/workflows/pr.yml | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/pr-title-checker-config.json b/.github/pr-title-checker-config.json index abc2bec5..73b8a6b8 100644 --- a/.github/pr-title-checker-config.json +++ b/.github/pr-title-checker-config.json @@ -1,7 +1,7 @@ { "LABEL": { - "name": "invalid title", - "color": "EEEEEE" + "name": "invalid-title", + "color": "B60205" }, "CHECKS": { "prefixes": [ @@ -21,7 +21,7 @@ "chore: ", "other: " ], - "regexp": "^_$", + "regexp": "^\\w+(\\([a-z_-]+\\))?: ", "regexpFlags": "", "ignoreLabels": [ "skip-title-check" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2c8508d5..4f9cee6f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,7 +1,6 @@ ## Checklist _check the box if it is not applicable to your changes_ -- [ ] The title of my PR follows the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) convention - [ ] I have updated the README with the necessary documentation - [ ] I have added unit tests - [ ] I have added [end-to-end tests](test/test_skim.py) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 87727e41..d434705d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,6 +11,8 @@ on: jobs: check: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: thehanimo/pr-title-checker@v1.4.3 with: