This is an automated email from the ASF dual-hosted git repository. sjanc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 50f69be67f6434ba92927c82fd2f77537df98ed7 Author: Szymon Janc <[email protected]> AuthorDate: Thu Oct 22 18:46:39 2026 +0200 ci: Set timeout for all jobs Jobs without timeout-minutes use GitHub default of 6 hours, so hung job (e.g. stuck repository download or toolchain install) holds shared ASF runner for that long. Set generous 60 minutes timeout for all jobs that don't have one, longest jobs take less than 20 minutes. Assisted-by: Claude:claude-opus-5-5 --- .github/workflows/build.yml | 9 +++++++++ .github/workflows/compliance_check.yml | 4 ++++ .github/workflows/format_file_check.yml | 1 + .github/workflows/labeler.yml | 1 + .github/workflows/ports_syscfg_check.yml | 1 + .github/workflows/stale.yml | 1 + 6 files changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb0fbe7e9..aece8cc8b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,7 @@ jobs: newt: name: Build newt runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - name: Build newt @@ -61,6 +62,7 @@ jobs: name: Prepare project needs: newt runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - name: Install newt @@ -100,6 +102,7 @@ jobs: matrix: shard: [0, 1] runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - uses: carlosperate/[email protected] @@ -136,6 +139,7 @@ jobs: name: Build all test targets needs: prepare runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - uses: carlosperate/[email protected] @@ -182,6 +186,7 @@ jobs: matrix: os: [windows-latest, macos-latest] runs-on: ${{ matrix.os }} + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - uses: carlosperate/[email protected] @@ -208,6 +213,7 @@ jobs: name: Build GCC test target needs: prepare runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - name: Restore project @@ -277,6 +283,7 @@ jobs: name: Run unit tests needs: prepare runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - name: Install Dependencies @@ -309,6 +316,7 @@ jobs: ports: name: Build ports runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v7 - uses: carlosperate/[email protected] @@ -397,6 +405,7 @@ jobs: !cancelled() && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' runs-on: ubuntu-slim + timeout-minutes: 60 permissions: actions: write contents: read diff --git a/.github/workflows/compliance_check.yml b/.github/workflows/compliance_check.yml index ea86934dd..17a4dcafd 100644 --- a/.github/workflows/compliance_check.yml +++ b/.github/workflows/compliance_check.yml @@ -36,6 +36,7 @@ jobs: style_check: name: Coding style runs-on: ubuntu-slim + timeout-minutes: 60 steps: - uses: actions/checkout@v7 with: @@ -89,6 +90,7 @@ jobs: style_license: name: Licensing runs-on: ubuntu-slim + timeout-minutes: 60 steps: - uses: actions/checkout@v7 with: @@ -113,6 +115,7 @@ jobs: style_doxygen: name: Doxygen Style runs-on: ubuntu-slim + timeout-minutes: 60 steps: - uses: actions/checkout@v7 with: @@ -130,6 +133,7 @@ jobs: commits-check: name: Check commit messages runs-on: ubuntu-slim + timeout-minutes: 60 steps: - uses: actions/checkout@v7 with: diff --git a/.github/workflows/format_file_check.yml b/.github/workflows/format_file_check.yml index cf26190f5..989370de4 100644 --- a/.github/workflows/format_file_check.yml +++ b/.github/workflows/format_file_check.yml @@ -26,6 +26,7 @@ on: jobs: sync: runs-on: ubuntu-slim + timeout-minutes: 60 permissions: contents: write pull-requests: write diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 465f8b2a6..61eb5511e 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -30,6 +30,7 @@ jobs: # pr-size-labeler is Docker action which is not supported by # ubuntu-slim runner runs-on: ubuntu-latest + timeout-minutes: 60 steps: - name: Assign labels based on the PR's size uses: codelytv/[email protected] diff --git a/.github/workflows/ports_syscfg_check.yml b/.github/workflows/ports_syscfg_check.yml index e24ed9e7d..13100c063 100644 --- a/.github/workflows/ports_syscfg_check.yml +++ b/.github/workflows/ports_syscfg_check.yml @@ -30,6 +30,7 @@ jobs: targets: name: Check ports syscfg update runs-on: ubuntu-latest + timeout-minutes: 60 permissions: contents: write pull-requests: write diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4047c57b7..ddb6023eb 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -42,6 +42,7 @@ jobs: stale: if: github.repository == 'apache/mynewt-nimble' runs-on: ubuntu-slim + timeout-minutes: 60 steps: - uses: actions/stale@v11 with:
