From 05e0813283337963446895b565571a9a548484f6 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Thu, 31 Oct 2024 15:42:07 -0700 Subject: [PATCH] Stop Autoupdate Check from Failure I hate the big red x on this, I think this will help. --- .github/workflows/dependabot-automerge.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index ed533beea0..c3428da5e1 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -16,11 +16,13 @@ jobs: with: github-token: "${{ secrets.GITHUB_TOKEN }}" - run: > - npx in-string-list ${{ steps.metadata.outputs.dependency-names }} ${{ env.SAFE_DEPENDENCIES }} + pnpm dlx in-string-list ${{ steps.metadata.outputs.dependency-names }} ${{ env.SAFE_DEPENDENCIES }} && echo "isSafe=yes" >> "$GITHUB_ENV" + || echo "Not marked as safe" - run: > test ${{ steps.metadata.outputs.update-type }} != 'version-update:semver-major' && echo "isNotMajor=yes" >> "$GITHUB_ENV" + || echo "This is a major version update" - run: | echo ${{ env.isSafe }} echo ${{ env.isNotMajor }}