diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 977b8277..3cdaac12 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -135,9 +135,13 @@ jobs: shell: powershell run: | Write-Output "Fetching commits from the last 24 hours..." - + + $location = Get-Location + Write-Output "$location" + # Get commit messages excluding .yml file commits $commits = git log --since="1 day ago" --pretty=format:"%h %s (%an)" --abbrev-commit --grep=".yml" --invert-grep + Write-Output "$commits" # If no commits are found, cancel the workflow if ([string]::IsNullOrEmpty($commits)) {