Skip to content

Commit

Permalink
ci: Fix merge command
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed Nov 14, 2023
1 parent 711f836 commit b9d7d7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/git-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
shell: bash
run: |
set -xeuo pipefail
if git merge-tree --name-only HEAD origin/$SLASH_COMMAND_ARG_BRANCH | grep 'CONFLICT'; then
if git merge-tree --name-only HEAD origin/$SLASH_COMMAND_ARG_BRANCH; then
echo "merge_conflict=false" >> $GITHUB_OUTPUT
else
echo "merge_conflict=true" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit b9d7d7a

Please sign in to comment.