nats-upload: add Gitea integration for cleaning feature branches
Conflicts: go.mod go.sum
This commit is contained in:
+16
-2
@@ -37,7 +37,21 @@ inputs:
|
||||
description: 'Cleanup all binaries, not just current one'
|
||||
required: false
|
||||
default: 'false'
|
||||
gitea_url:
|
||||
description: 'Gitea server URL (for cleaning feature branches)'
|
||||
required: false
|
||||
default: ''
|
||||
gitea_token:
|
||||
description: 'Gitea API token (for cleaning feature branches)'
|
||||
repository:
|
||||
description: 'Repository path (owner/repo) for Gitea branch API (defaults to GITHUB_REPOSITORY env)'
|
||||
required: false
|
||||
default: ''
|
||||
cleanup_features:
|
||||
description: 'Cleanup stale feature-branch binaries whose branches no longer exist in Gitea'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
# noinspection YAMLSchemaValidation
|
||||
using: 'go'
|
||||
main: 'main.go'
|
||||
using: 'go'
|
||||
Reference in New Issue
Block a user