File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8282 - name : ' Check if base branch exists'
8383 id : check-target-branch-exists
8484 env :
85- target-branch : ${{ needs.workflow-variables .outputs.target-branch }}
85+ target-branch : ${{ steps.set-target-branch .outputs.target-branch }}
8686 run : |
8787 set +e
8888
@@ -102,7 +102,7 @@ jobs:
102102 - name : ' Check if base branch exists'
103103 id : check-base-branch-exists
104104 env :
105- base-branch : ${{ needs.workflow-variables .outputs.base-branch }}
105+ base-branch : ${{ steps.set-base-branch .outputs.base-branch }}
106106 run : |
107107 set +e
108108
@@ -124,11 +124,11 @@ jobs:
124124 env :
125125 GH_TOKEN : ${{ github.token }}
126126 current-branch : ${{ github.ref_name }}
127- target-branch : ${{ needs.workflow-variables .outputs.target-branch }}
127+ target-branch : ${{ steps.set-target-branch .outputs.target-branch }}
128128 run : |
129129 set +e
130130
131- pull_request_exists=$(echo gh pr list --head ${{ env.current-branch }} --base ${{ env.target-branch }} --state " open" --limit 1 --jq '.total_count')
131+ pull_request_exists=$(echo gh pr list --head ${{ env.current-branch }} --base ${{ env.target-branch }} --state ' open' --limit 1 --jq '.total_count')
132132
133133 echo $pull_request_exists
134134
You can’t perform that action at this time.
0 commit comments