Skip to content

Commit

Permalink
Keep GitHub workflow alive
Browse files Browse the repository at this point in the history
GitHub disables workflows if there is no activity in the repository after
60 days. Run a separate standalone job to re-enable the workflow on a
regular scheduled job.

Fixes: #34
Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Jul 1, 2024
1 parent 5787331 commit 2750a9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ jobs:
build-args: |
VARIANT=${{ matrix.variant }}
# Keep workflow alive
# See https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#disabling-and-enabling-workflows
workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/[email protected]

# Job to key success status against
allgreen:
name: allgreen
Expand Down

0 comments on commit 2750a9b

Please sign in to comment.