gitea actions ng50
This commit is contained in:
@@ -364,14 +364,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd repo
|
cd repo
|
||||||
|
|
||||||
git config user.name "Release Bot"
|
git config user.name "release-bot"
|
||||||
git config user.email "release-bot@noreply.localhost"
|
git config user.email "ci@example.local"
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
|
|
||||||
# Commit nur, wenn Änderungen vorhanden sind
|
# Commit nur, wenn Änderungen vorhanden sind
|
||||||
if ! git diff --cached --quiet; then
|
if ! git diff --cached --quiet; then
|
||||||
git commit -m "${{ inputs.name }} → ${{ steps.payload.outputs.version }}"
|
git commit -m "${{ inputs.name }} ${{ steps.metadata.outputs.version }}"
|
||||||
else
|
else
|
||||||
echo "Keine Änderungen – kein Commit notwendig."
|
echo "Keine Änderungen – kein Commit notwendig."
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user