Skip to content

Commit

Permalink
Force top level timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Hook25 committed Mar 13, 2024
1 parent 2d25fca commit 89ef1c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/daily-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
check_for_commits:
runs-on: [self-hosted, linux, large]
runs-on: [self-hosted, linux, small]
name: Check for commits
outputs:
new_commit_count: ${{ steps.commit_check.outputs.new_commit_count }}
Expand All @@ -26,15 +26,18 @@ jobs:
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/checkbox-core-snap-daily-builds.yml
secrets: inherit
timeout-minutes: 1200 #20h, this will timeout sooner due to inner timeouts

checkbox-snap-daily:
needs: check_for_commits
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/checkbox-snap-daily-builds.yml
secrets: inherit
timeout-minutes: 1200 #20h, this will timeout sooner due to inner timeouts

checkbox-deb-daily:
needs: check_for_commits
if: ${{ needs.check_for_commits.outputs.new_commit_count > 0 || github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/deb-daily-builds.yml
secrets: inherit
timeout-minutes: 1200 #20h, this will timeout sooner due to inner timeouts

0 comments on commit 89ef1c9

Please sign in to comment.