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