Refactor CI/CD workflows and action configuration for clarity and consistency
This commit is contained in:
+8
-9
@@ -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 }}
|
||||
Reference in New Issue
Block a user