From 01dd462bc800eb3104f38b539163ad44a7fe34ed Mon Sep 17 00:00:00 2001 From: cdozdil <35529761+cdozdil@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:18:35 +0300 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3cdaac12..d0ff051b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -137,11 +137,14 @@ jobs: Write-Output "Fetching commits from the last 24 hours..." $location = Get-Location - Write-Output "$location" + Write-Output "Folder: $location`n" + + $datetime = Get-Date + Write-Output "Datetime: $datetime`n" # 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" + Write-Output "Commits: $commits`n" # If no commits are found, cancel the workflow if ([string]::IsNullOrEmpty($commits)) {