diff --git a/.github/workflows/sync-to-github.yml b/.github/workflows/sync-to-github.yml index a51f70b..72d4f17 100644 --- a/.github/workflows/sync-to-github.yml +++ b/.github/workflows/sync-to-github.yml @@ -2,6 +2,11 @@ name: Sync selected files to GitHub on: workflow_dispatch: + inputs: + commit_message: + description: 'Mensaje del commit en GitHub' + required: false + default: 'Sync selected files from Gitea' jobs: sync: @@ -41,4 +46,4 @@ jobs: run: | cd dest git add . - git diff --staged --quiet || (git commit -m "Sync selected files from Gitea" && git push origin main) \ No newline at end of file + git diff --staged --quiet || (git commit -m "${{ github.event.inputs.commit_message }}" && git push origin main) \ No newline at end of file