Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
wen587 committed Jul 11, 2024
1 parent b024935 commit f37ece8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/protect-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
protected_file='src/sonic-config-engine/minigraph.py'
base_branch=$(git rev-parse origin/${base_ref})
if git diff --name-only $base_branch | grep -q "^${protected_file}\$"; then
echo "Error: You are trying to modify ${protected_file}, which is protected."
exit 1
echo "Error: You are trying to modify ${protected_file}, which is protected."
exit 1
else
echo "No changes detected in ${protected_file}"
echo "No changes detected in ${protected_file}"
fi

0 comments on commit f37ece8

Please sign in to comment.