From 795e845403925b34fe17a61db41d954e91a2c23d Mon Sep 17 00:00:00 2001 From: chammard Date: Tue, 4 Feb 2025 13:45:26 -0800 Subject: [PATCH 1/2] Add Odroid keepalive CI workflow --- .github/workflows/odroid-keepalive.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/odroid-keepalive.yml diff --git a/.github/workflows/odroid-keepalive.yml b/.github/workflows/odroid-keepalive.yml new file mode 100644 index 000000000..14723c417 --- /dev/null +++ b/.github/workflows/odroid-keepalive.yml @@ -0,0 +1,21 @@ +# The purpose of this workflow is to prevent the Odroid (self-hosted) runner +# from being de-registered by GitHub due to inactivity. +# We only use the Odroid on FPP releases, but runners get de-registered after 14 days +# of idling. +# See https://github.com/orgs/community/discussions/58146 +# https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/removing-self-hosted-runners#removing-a-runner-from-a-repository + + +name: Odroid Keepalive + +on: + workflow_dispatch: + schedule: + - cron: '0 0 */10 * *' + +jobs: + keepAlive: + runs-on: odroid + steps: + - name: Echo a message + run: echo I am still alive! From d78026332fa9670afde5ec73ce9af868e02deb72 Mon Sep 17 00:00:00 2001 From: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com> Date: Tue, 4 Feb 2025 16:20:54 -0800 Subject: [PATCH 2/2] Update odroid-keepalive.yml schedule and add comments --- .github/workflows/odroid-keepalive.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/odroid-keepalive.yml b/.github/workflows/odroid-keepalive.yml index 14723c417..aedb02982 100644 --- a/.github/workflows/odroid-keepalive.yml +++ b/.github/workflows/odroid-keepalive.yml @@ -9,9 +9,11 @@ name: Odroid Keepalive on: + # workflow_dispatch allows for manual trigger in the repo 'Actions' tab workflow_dispatch: + # run every Monday 8am schedule: - - cron: '0 0 */10 * *' + - cron: '0 8 * * 1' jobs: keepAlive: