diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 8a1a9e49b5..be75eef7fb 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -25,7 +25,7 @@ jobs: echo ${{ env.isSafe }} echo ${{ env.isNotMajor }} - id: should_merge - run: (test -z ${{env.isSafe}} && test -z ${{env.isNotMajor}}) && echo "shouldMerge=yes" >> "$GITHUB_OUTPUT" + run: (test -n ${{env.isSafe}} && test -n ${{env.isNotMajor}}) && echo "shouldMerge=yes" >> "$GITHUB_OUTPUT" auto_merge: runs-on: ubuntu-latest needs: check