From 9ce95fe8c0680e230c87a17a038625e26389b36c Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 1 Jan 2026 09:51:02 +0100 Subject: [PATCH] .github: fix logic in weekly workflow Signed-off-by: Joachim Wiberg --- .github/workflows/weekly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 29802e12..f6c8c08d 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -14,14 +14,14 @@ jobs: schedule: runs-on: ubuntu-latest outputs: - run: ${{ steps.check.outputs.run }} + run: ${{ steps.schedule.outputs.run }} steps: - uses: actions/checkout@v4 - name: Check for any commits since last week id: schedule run: | commits="$(git log --format=%H --since='1 week ago')" - if [ -n "$commits" ]; then + if [ -z "$commits" ]; then echo "run=true" >> $GITHUB_OUTPUT else echo "run=false" >> $GITHUB_OUTPUT