Actualizar .github/workflows/sync-to-github.yml

This commit is contained in:
2026-04-26 18:49:29 +02:00
parent ee5e6e5207
commit 1c45dc5466

View File

@@ -2,6 +2,11 @@ name: Sync selected files to GitHub
on: on:
workflow_dispatch: workflow_dispatch:
inputs:
commit_message:
description: 'Mensaje del commit en GitHub'
required: false
default: 'Sync selected files from Gitea'
jobs: jobs:
sync: sync:
@@ -41,4 +46,4 @@ jobs:
run: | run: |
cd dest cd dest
git add . git add .
git diff --staged --quiet || (git commit -m "Sync selected files from Gitea" && git push origin main) git diff --staged --quiet || (git commit -m "${{ github.event.inputs.commit_message }}" && git push origin main)