Skip to content

Commit dba4599

Browse files
Merge pull request #28 from harmoniqs/feat/writeback-pr
feat: add repo input to create real Issues instead of DraftIssues
2 parents 21e0880 + a860fdc commit dba4599

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ inputs:
3131
description: 'If true, open a PR for writeback changes instead of pushing directly (for repos with branch protection on main)'
3232
required: false
3333
default: 'false'
34+
repo:
35+
description: 'Target repository for creating real Issues instead of DraftIssues (format: owner/name)'
36+
required: false
37+
default: ''
3438

3539
outputs:
3640
created:
@@ -74,6 +78,10 @@ runs:
7478
ARGS="$ARGS --repo-label '${{ inputs.repo-label }}'"
7579
fi
7680
81+
if [ -n "${{ inputs.repo }}" ]; then
82+
ARGS="$ARGS --repo '${{ inputs.repo }}'"
83+
fi
84+
7785
if [ "${{ inputs.dry-run }}" = "true" ]; then
7886
ARGS="$ARGS --dry-run"
7987
fi

0 commit comments

Comments
 (0)