Skip to content

Commit

Permalink
Setup CI heartbeat for self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
pzehner committed Jun 19, 2024
1 parent 6b2ccb2 commit af41a72
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/heartbeat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-FileCopyrightText: (C) The Kokkos-FFT development team, see COPYRIGHT.md file
#
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception

# Send a dummy job to the custom runners every two weeks to keep them alive.
# See https://github.com/actions/runner/issues/756 .

name: CI self-hosted runners heartbeat

on:
schedule:
- cron: "0 1 1,15" # every 1st and 15th of the month at 1am UTC
workflow_dispatch:

jobs:
heartbeat:
runs-on: ${{ matrix.runner }}

strategy:
matrix:
runner:
- [self-hosted, cuda]

steps:
- name: Heartbeat
run: echo "Runner is alive"

0 comments on commit af41a72

Please sign in to comment.