Open ocriado91 opened 1 week ago
According to: https://github.com/orgs/community/discussions/50926, Github doesn't allow configuring custom timeout to avoid stuck queued pipelines, but we can check if there are any queued workflows after a specific timeout (e.g. 10min) and cancel using GitHub CLI.
Description
The
current status
pipeline is executed into theraspberry pi
server:https://github.com/ocriado91/python-telegrambot-flashcards/blob/main/.github/workflows/current_status.yaml
In case the
raspberry pi
server where the FlashcardBot is deployed is down, GitHub Actions try to execute this pipeline into the server reaching the following error:Solution
timeout
(e.g. 10 minutes) into thecheck status
pipeline to avoid pipeline connection timeout.