Skip to content

Commit

Permalink
Update PR title checker rule (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
loicreynier authored Dec 28, 2023
1 parent 653b197 commit 0b0ecfe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
14 changes: 14 additions & 0 deletions .github/workflows/pr-title.yaml
Original file line number Diff line number Diff line change
@@ -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'"

0 comments on commit 0b0ecfe

Please sign in to comment.