From 7e59b55923a23ac8cb176e7f3077a4d46d26b8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Reynier?= <88983487+loicreynier@users.noreply.github.com> Date: Thu, 28 Dec 2023 11:39:35 +0100 Subject: [PATCH 1/2] Update main.yaml --- .github/workflows/main.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 168b04d..56be600 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,11 +21,3 @@ jobs: - uses: crate-ci/typos@master with: files: ./README.md - pr-title: - name: Check PR title - runs-on: ubuntu-latest - steps: - - uses: Slashgear/action-check-pr-title@v4.3.0 - with: - regexp: "(Add|Update|Remove) .+" - helpMessage: "Example: 'Add MO2'" From 274ed18c8022aad0ca31dd82ed25c02be367cbb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Reynier?= <88983487+loicreynier@users.noreply.github.com> Date: Thu, 28 Dec 2023 11:42:49 +0100 Subject: [PATCH 2/2] Create `pr-title.yaml` --- .github/workflows/pr-title.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/pr-title.yaml diff --git a/.github/workflows/pr-title.yaml b/.github/workflows/pr-title.yaml new file mode 100644 index 0000000..bb1d08a --- /dev/null +++ b/.github/workflows/pr-title.yaml @@ -0,0 +1,14 @@ +on: + pull_request: + types: [opened, edited, synchronize] + paths: [README.md] + +jobs: + pr-title: + name: Check PR title + runs-on: ubuntu-latest + steps: + - uses: Slashgear/action-check-pr-title@v4.3.0 + with: + regexp: "(Add|Update|Remove) .+" + helpMessage: "Example: 'Add MO2'"