Skip to content

Commit 4679b03

Browse files
author
LE SAULNIER Kevin
committed
fix: add secret as input
Signed-off-by: LE SAULNIER Kevin <[email protected]>
1 parent 8a4c7a5 commit 4679b03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/prepare-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
release-version:
1313
description: "Version for new tag (ex: v2.8.0)"
1414
required: true
15+
secrets:
16+
VERSIONBUMP_GHAPP_PRIVATE_KEY:
17+
required: true
1518

1619
jobs:
1720
prepare-release:
@@ -88,13 +91,11 @@ jobs:
8891
# Check if *branch_name* already exists
8992
if git ls-remote --exit-code origin "refs/heads/$branch_name"; then
9093
echo "❌ Warning for $folder: Branch $branch_name already exists"
91-
exit 1
9294
fi
9395
git checkout -b "$branch_name"
9496
9597
if ! git push origin "$branch_name"; then
9698
echo "❌ Error for $folder: Failed to push $branch_name"
97-
exit 1
9899
fi
99100
100101
commit_message=$(git log -1 --pretty=%s | cut -c1-50)

0 commit comments

Comments
 (0)