Skip to content

Commit

Permalink
Stop Autoupdate Check from Failure
Browse files Browse the repository at this point in the history
I hate the big red x on this, I think this will help.
  • Loading branch information
jrjohnson committed Oct 31, 2024
1 parent 8c8d8af commit fd9565c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit fd9565c

Please sign in to comment.