From 0df150aa685c288133d4b7e5f08057358be25902 Mon Sep 17 00:00:00 2001 From: Alex Moinet Date: Fri, 6 Oct 2023 15:30:01 +0100 Subject: [PATCH] Different method of using outputs --- .github/workflows/update-dependencies.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 63df913ad..5c0daa6c9 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -36,10 +36,10 @@ jobs: - name: List current branch name id: current-branch - run: git rev-parse --abbrev-ref HEAD >> $GITHUB_OUTPUT + run: echo "branch=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT - name: Create pull request - if: ${{ steps.current-branch.outputs != 'dep-updater'}} + if: ${{ steps.current-branch.outputs.branch != 'dep-updater'}} run: gh pr create -B dep-updater | -H bumpsnag-$TARGET_SUBMODULE-$TARGET_VERSION | --title 'Update $TARGET_SUBMODULE to version $TARGET_VERSION' |