need outputs

This commit is contained in:
Luke Francl 2021-10-08 14:53:47 -07:00
parent 91df2121b1
commit 18ba08ce22

View File

@ -78,12 +78,12 @@ jobs:
- name: Create Pull Request
id: open-pr
uses: repo-sync/pull-request@v2
if: ${{ steps.commit.needs_pr == true }}
if: ${{ steps.commit.outputs.needs_pr == 'true' }}
with:
destination_branch: "master"
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: output-url
if: ${{ steps.commit.needs_pr == true }}
if: ${{ steps.commit.outputs.needs_pr == 'true' }}
run: echo ${{ steps.open-pr.outputs.pr_url }}
- name: No PR Created
if: ${{ steps.commit.needs_pr != true }}