Skip to content

Commit

Permalink
ci: Enforce conventional commit PRs
Browse files Browse the repository at this point in the history
Forces all PRs to use http://conventionalcommits.org from now on.
  • Loading branch information
thomwiggers committed Sep 13, 2023
1 parent cfb27ea commit a41ce1c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,23 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
commit-message:
prefix: chore(deps)
- package-ecosystem: gitsubmodule
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
commit-message:
prefix: chore(deps)
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
commit-message:
prefix: chore(ci)
groups:
Actions:
patterns:
- "*"
20 changes: 20 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a41ce1c

Please sign in to comment.