Skip to content

Commit

Permalink
quote
Browse files Browse the repository at this point in the history
  • Loading branch information
wen587 committed Jul 11, 2024
1 parent 3278880 commit 63a745e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/protect-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
base_ref=$(echo "${GITHUB_CONTEXT}" | jq -r ".base_ref")
echo "Base branch reference extracted: ${base_ref}"
protected_file="src/sonic-config-engine/minigraph.py"
base_branch=$(git rev-parse origin/${base_ref})
base_branch="$(git rev-parse origin/${base_ref})"
echo "Base branch SHA: ${base_branch}"
echo "Running git diff check"
git fetch origin ${base_ref} # Fetch the base branch to ensure it's up-to-date
Expand Down

0 comments on commit 63a745e

Please sign in to comment.