change commit pattern
This commit is contained in:
@@ -64,8 +64,8 @@ jobs:
|
||||
|
||||
RENDER_DIR=()
|
||||
|
||||
echo ">> Checking for changes from ${{ gitea.event.before }}..${{ gitea.event.after }} ..."
|
||||
GIT_DIFF=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | xargs -I {} dirname {} | sort -u | grep "clusters/cl01tl/helm/")
|
||||
echo ">> Checking for changes from HEAD^..HEAD ..."
|
||||
GIT_DIFF=$(git diff --name-only HEAD^..HEAD | xargs -I {} dirname {} | sort -u | grep "clusters/cl01tl/helm/")
|
||||
|
||||
if [ -n "${GIT_DIFF}" ]; then
|
||||
echo ">> Changes detected:"
|
||||
|
||||
Reference in New Issue
Block a user