Skip to content

Commit

Permalink
Merge pull request #8065 from jrjohnson/fix-automerge-again
Browse files Browse the repository at this point in the history
Use a Test to Check Strings
  • Loading branch information
jrjohnson authored Aug 11, 2024
2 parents 102119a + 2d32a48 commit 8afe111
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 8afe111

Please sign in to comment.