Skip to content

Commit

Permalink
feat: fix grep condition
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Jul 29, 2024
1 parent 5d2991a commit b8e39de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-conflict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Check conflict
run: |
if ! grep -r "<<<< HEAD" . --exclude-dir=.git --exclude=check-conflict.yml; then
if grep -r "<<<< HEAD" . --exclude-dir=.git --exclude=check-conflict.yml; then
PR_COMMENTS=`curl ${API_URL}?per_page=10000`
BODY=`echo -E "${PR_COMMENTS}" | jq 'last(.[] | select(.user.login == "vdaas-ci") | select(.body | test("^\\\\*\\\\*\\\\[WARNING:CONFLICT")) | .body)' -r`
Expand Down

0 comments on commit b8e39de

Please sign in to comment.