gitea actions ng50
This commit is contained in:
@@ -364,14 +364,14 @@ jobs:
|
||||
run: |
|
||||
cd repo
|
||||
|
||||
git config user.name "Release Bot"
|
||||
git config user.email "release-bot@noreply.localhost"
|
||||
git config user.name "release-bot"
|
||||
git config user.email "ci@example.local"
|
||||
|
||||
git add .
|
||||
|
||||
# Commit nur, wenn Änderungen vorhanden sind
|
||||
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
|
||||
echo "Keine Änderungen – kein Commit notwendig."
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user