From a4bc655a5e2e243bb80f7c3ebfcd0f63138bb1b4 Mon Sep 17 00:00:00 2001
From: Daniel Roux <danroux@gmail.com>
Date: Thu, 2 May 2024 12:49:51 +0200
Subject: [PATCH] gha: update prefix for dependabot prs & improve release
 workflow

---
 .github/dependabot.yml        | 6 +++---
 .github/workflows/release.yml | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 7bf33e3..3d358a9 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -10,7 +10,7 @@ updates:
       - "dependencies"
       - "dependencies/npm"
     commit-message:
-      prefix: "npm deps:"
+      prefix: "npm:"
       include: "scope"
     open-pull-requests-limit: 10
     reviewers:
@@ -25,7 +25,7 @@ updates:
       - "dependencies"
       - "dependencies/gha"
     commit-message:
-      prefix: "gha deps:"
+      prefix: "gha:"
       include: "scope"
     open-pull-requests-limit: 10
     reviewers:
@@ -40,7 +40,7 @@ updates:
       - "dependencies"
       - "dependencies/docker"
     commit-message:
-      prefix: "docker deps:"
+      prefix: "docker:"
       include: "scope"
     open-pull-requests-limit: 10
     reviewers:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0cd2ffb..67b5b8c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,6 +16,7 @@ jobs:
       - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
         with:
           fetch-depth: 0
+          ref: 'main'
       - name: Get Latest Tag
         id: latest-tag
         run: |