Refactor CI/CD workflows and action configuration for clarity and consistency

This commit is contained in:
2026-06-29 09:08:14 +00:00
parent 5db3b328a2
commit 12fccecf3f
3 changed files with 35 additions and 26 deletions
+8 -9
View File
@@ -1,14 +1,13 @@
name: 'Docker Action Template'
description: 'Docker Action 範本'
name: 'AI Pull Request'
description: 'AI Pull 合併請求'
author: 'Jeffery'
inputs:
gitea_token:
description: 'Gitea Token'
token:
description: ''
required: true
model:
description: ''
required: true
text:
description: '輸入的文字'
required: false
default: 'Hello, World!'
outputs:
text:
description: '輸出的文字'
@@ -18,5 +17,5 @@ runs:
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN || inputs.gitea_token }}
GITEA_TOKEN: ${{ inputs.token || gitea.token }}
TEXT: ${{ inputs.text }}