Skip to content

Commit

Permalink
chore: add pull request title check (#4951)
Browse files Browse the repository at this point in the history
* chore: add pull request title check

* Update .github/workflows/pull-request-title.yml

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

---------

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
  • Loading branch information
Uzlopak and Fdawgs committed Aug 4, 2023
1 parent c7392f8 commit ace58fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
commit-message:
# Prefix all commit messages with "chore: "
prefix: "chore"
schedule:
interval: "monthly"
open-pull-requests-limit: 10

- package-ecosystem: "npm"
directory: "/"
commit-message:
# Prefix all commit messages with "chore: "
prefix: "chore"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
13 changes: 13 additions & 0 deletions .github/workflows/pull-request-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: pull request title check
on:
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
pull-request-title-check:
runs-on: ubuntu-latest
steps:
- uses: fastify/action-pr-title@v0
with:
prefixes: 'build:,chore:,ci:,docs:,feat:,fix:,perf:,refactor:,style:,test:'
github-token: ${{ github.token }}

0 comments on commit ace58fe

Please sign in to comment.