From 054bbaa74e59362386ad8b173276da8aa786f30d Mon Sep 17 00:00:00 2001 From: iranl Date: Sun, 11 Aug 2024 23:09:20 +0200 Subject: [PATCH] Get new commits since last successful run --- .github/workflows/nightly.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0e76945..148afbc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -9,11 +9,13 @@ permissions: jobs: check-commits: - name: Count commits in last 24h + name: Get new commits since last successful run if: github.repository == 'technyon/nuki_hub' runs-on: ubuntu-latest outputs: has-commits: ${{ steps.commits.outputs.NEW_COMMIT_COUNT }} + env: + GH_TOKEN: ${{ github.token }} steps: - uses: actions/checkout@v4 with: