File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 steps :
1919 - name : Checkout CLI extension repo
2020 uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 1
23+ sparse-checkout : |
24+ .github
2125 - name : Azdev Env Setup
2226 uses : ./.github/actions/env-setup
2327 - name : Get Diff Files
4650 cat changed_files
4751 cat changed_files | grep src/ | awk -F"src/" '{print $2}'| grep / | awk -F"/" '{print $1}' | sort | uniq
4852 echo "changed_module_list=$(cat changed_files | grep src/ | awk -F"src/" '{print $2}'| grep / | awk -F"/" '{print $1}' | sort | uniq | xargs)" >> $GITHUB_ENV
53+ git checkout "$base_branch_pre"/"$base_branch"
4954 - name : Display PR Diff Modules
5055 run : |
5156 for mod in ${changed_module_list[@]}
Original file line number Diff line number Diff line change 1818 steps :
1919 - name : Checkout CLI extension repo
2020 uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 1
23+ sparse-checkout : |
24+ .github
2125 - name : Azdev Env Setup
2226 uses : ./.github/actions/env-setup
2327 - name : Get Diff Files
4650 cat changed_files
4751 cat changed_files | grep src/ | awk -F"src/" '{print $2}'| grep / | awk -F"/" '{print $1}' | sort | uniq
4852 echo "changed_module_list=$(cat changed_files | grep src/ | awk -F"src/" '{print $2}'| grep / | awk -F"/" '{print $1}' | sort | uniq | xargs)" >> $GITHUB_ENV
53+ git checkout "$base_branch_pre"/"$base_branch"
4954 - name : Display PR Diff Modules
5055 run : |
5156 for mod in ${changed_module_list[@]}
You can’t perform that action at this time.
0 commit comments