Add inputs to action.yml
This commit is contained in:
parent
948a615fcc
commit
963bd24fe6
20
action.yml
20
action.yml
@ -2,14 +2,28 @@ name: "Commit Report Sync"
|
||||
description: "Syncs a report on commits to another repository"
|
||||
|
||||
inputs:
|
||||
target-repo-domain:
|
||||
target_repo_domain:
|
||||
default: "github.com"
|
||||
target-repo-owner:
|
||||
target_repo_owner:
|
||||
description: "E.g. for repo 'owner/repo', the owner is 'owner'"
|
||||
required: true
|
||||
target-repo-name:
|
||||
target_repo_name:
|
||||
description: "E.g. for repo 'owner/repo', the name is 'repo'"
|
||||
required: true
|
||||
# TODO - check if it's possible to retrieve source-repo info from context (i.e. does context plumb-through details of
|
||||
# the calling repo to a called-action?)
|
||||
source_repo_domain:
|
||||
rquired: true
|
||||
source_repo_owner:
|
||||
description: "E.g. for repo 'owner/repo', the owner is 'owner'"
|
||||
required: true
|
||||
source_repo_name:
|
||||
description: "E.g. for repo 'owner/repo', the name is 'repo'"
|
||||
required: true
|
||||
dry_run:
|
||||
type: boolean
|
||||
default: "false"
|
||||
|
||||
|
||||
runs:
|
||||
using: "node20"
|
||||
|
Loading…
x
Reference in New Issue
Block a user