This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e # Exit immediately if a command exits with a non-zero status.
|
set -e # Exit immediately if a command exits with a non-zero status.
|
||||||
|
|
||||||
TARGET_BRANCH="${{ github.base_ref }}"
|
TARGET_BRANCH="origin/${{ github.base_ref }}"
|
||||||
echo ">> Target branch for diff is: $TARGET_BRANCH"
|
echo ">> Target branch for diff is: $TARGET_BRANCH"
|
||||||
|
|
||||||
CHANGED_FILES=$(git diff --name-only "$TARGET_BRANCH" -- 'hosts/**')
|
CHANGED_FILES=$(git diff --name-only "$TARGET_BRANCH" -- 'hosts/**')
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e # Exit immediately if a command exits with a non-zero status.
|
set -e # Exit immediately if a command exits with a non-zero status.
|
||||||
|
|
||||||
TARGET_BRANCH="${{ github.base_ref }}"
|
TARGET_BRANCH="origin/${{ github.base_ref }}"
|
||||||
echo ">> Target branch for diff is: $TARGET_BRANCH"
|
echo ">> Target branch for diff is: $TARGET_BRANCH"
|
||||||
|
|
||||||
CHANGED_FILES=$(git diff --name-only "$TARGET_BRANCH" -- 'clusters/**')
|
CHANGED_FILES=$(git diff --name-only "$TARGET_BRANCH" -- 'clusters/**')
|
||||||
|
|||||||
Reference in New Issue
Block a user