Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Nov 19, 2024
1 parent b7a8ffb commit a95ffc9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/scripts/check_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@
set -o nounset
set -o errexit
set -o pipefail
set -o xtrace

# Parse command line arguments
head_ref=${1}
base_ref=${2}
clone_url=${3}

# Set paths to ignore
paths_ignore="^(Docs|\.github)/|\.azure-pipelines\.yml$"
paths_ignore="^\.azure-pipelines\.yml$|^\.github/|Docs/"

# Add forked repository as remote
git remote add fork ${clone_url}
# Check if remote repository already exists
if ! git remote --get-url fork > /dev/null 2>&1; then
# Add forked repository as remote
git remote add fork ${clone_url}
fi

# Fetch base branch from main repository
git fetch origin ${base_ref}
Expand Down

0 comments on commit a95ffc9

Please sign in to comment.