Skip to content

Commit

Permalink
Change: Create conventional commits for dependabot
Browse files Browse the repository at this point in the history
Change dependabot config to create convention commit messages.
This allows to include dependency updates in the release changelogs.

Also require read permissions for repo contents.
  • Loading branch information
bjoernricks committed May 16, 2023
1 parent 51d94f9 commit afed628
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
time: "04:00"
open-pull-requests-limit: 10
allow:
- dependency-type: direct
- dependency-type: indirect
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
time: "04:00"
open-pull-requests-limit: 10
allow:
- dependency-type: direct
- dependency-type: indirect
commit-message:
prefix: "Deps"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "Deps"
1 change: 1 addition & 0 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

permissions:
pull-requests: write
contents: read

jobs:
conventional-commits:
Expand Down

0 comments on commit afed628

Please sign in to comment.