Skip to content

Commit

Permalink
Use a Test to Check Strings
Browse files Browse the repository at this point in the history
Without this it just runs the string as a command, which isn't what I
had intended.
  • Loading branch information
jrjohnson committed Aug 11, 2024
1 parent 102119a commit 2d32a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
npx in-string-list ${{ steps.metadata.outputs.dependency-names }} ${{ env.SAFE_DEPENDENCIES }}
&& echo "isSafe=yes" >> "$GITHUB_OUTPUT"
- run: >
${{ steps.metadata.outputs.update-type }} != 'version-update:semver-major'
test ${{ steps.metadata.outputs.update-type }} != 'version-update:semver-major'
&& echo "isNotMajor=yes" >> "$GITHUB_OUTPUT"
- id: should_merge
run: (test -z {{env.isSafe}} && test -z {{env.isNotMajor}}) && echo "shouldMerge=yes" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 2d32a48

Please sign in to comment.