File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 7676 ANNOTATION_COMMIT_SHA : ${{ github.event.after || '' }}
7777 ANNOTATION_COMMIT_REF : ${{ github.event.ref || github.event.pull_request.head.ref || '' }}
7878 ANNOTATION_COMMIT_MESSAGE : ${{ github.event.head_commit.message || '' }}
79+ ANNOTATION_ACTION_REF : ${{ github.action_ref || '' }}
7980 id : create-branch
8081 shell : bash
8182 run : |
9293 --arg github-pr-number "${ANNOTATION_PR_NUMBER}" \
9394 --arg github-pr-title "${ANNOTATION_PR_TITLE}" \
9495 --arg github-commit-ref "${ANNOTATION_COMMIT_REF}" \
96+ --arg github-action-ref "${ANNOTATION_ACTION_REF}" \
9597 )
9698
9799 # set IFS (internal file separator) to \n to avoid JSON space being an arguments separator
@@ -101,7 +103,7 @@ runs:
101103 --project-id ${{ inputs.project_id }} \
102104 --name "${{ inputs.branch_name }}" \
103105 --suspend-timeout ${{ inputs.suspend_timeout }} \
104- $(if [[ -n "${{ inputs.parent }}" ]]; then echo "--parent ${{ inputs.parent }}"; fi) \
106+ $(if [[ -n "${{ inputs.parent }}" ]]; then echo "--parent= ${{ inputs.parent }}"; fi) \
105107 --output json \
106108 $(if [[ -n "${annotation_json}" ]]; then echo "--annotation='$annotation_json'"; fi) \
107109 2> branch_err > branch_out || true
You can’t perform that action at this time.
0 commit comments