From b7139253afec6672e76cd344d4e0d3482345cc4d Mon Sep 17 00:00:00 2001 From: shaygun <17057583+shaygun@users.noreply.github.com> Date: Thu, 26 Nov 2026 20:20:05 +0100 Subject: [PATCH] ci: run live API tests on a nightly schedule --- .github/workflows/live.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/live.yml b/.github/workflows/live.yml index 19d6091..388625b 100644 --- a/.github/workflows/live.yml +++ b/.github/workflows/live.yml @@ -6,6 +6,9 @@ name: Live API # yamllint disable-line rule:truthy on: + schedule: + # Nightly live API tests (billed input stays false on the schedule). + - cron: "17 4 * * *" push: branches: - main @@ -38,6 +41,9 @@ jobs: BEAKER_SETFILE: ubuntu2404-64 BEAKER_PUPPET_COLLECTION: ${{ matrix.collection }} steps: + - name: Skip when NODERINGS_TOKEN is not set + if: env.NODERINGS_TOKEN == '' + run: echo "::notice title=Live tests skipped::Add the repository secret NODERINGS_TOKEN (a service account token for a test organization) to run them." - uses: actions/checkout@v7 if: env.NODERINGS_TOKEN != '' - uses: ruby/setup-ruby@v1