From afed6288a8d4655cb7329b3d594936c7b8ad0a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Tue, 16 May 2023 11:17:33 +0200 Subject: [PATCH] Change: Create conventional commits for dependabot 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. --- .github/dependabot.yml | 30 ++++++++++++---------- .github/workflows/conventional-commits.yml | 1 + 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 27364725..645259a2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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" diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 9b631f60..036d0a53 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -5,6 +5,7 @@ on: permissions: pull-requests: write + contents: read jobs: conventional-commits: