This is an automated email from the ASF dual-hosted git repository.
hubcio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new b9bb99719 ci: add job timeouts and stagger the stale-PR cron (#4466)
b9bb99719 is described below
commit b9bb99719656026c570269b0c245497120786464
Author: Justin Mclean <[email protected]>
AuthorDate: Tue Oct 13 12:17:02 2026 +0100
ci: add job timeouts and stagger the stale-PR cron (#4466)
---
.github/workflows/_common.yml | 15 +++++++++++++++
.github/workflows/_detect.yml | 1 +
.github/workflows/post-merge.yml | 1 +
.github/workflows/pr-title.yml | 1 +
.github/workflows/pre-merge.yml | 1 +
.github/workflows/stale-prs.yml | 3 ++-
6 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/_common.yml b/.github/workflows/_common.yml
index 7ffd1f676..56459044a 100644
--- a/.github/workflows/_common.yml
+++ b/.github/workflows/_common.yml
@@ -32,6 +32,7 @@ jobs:
rust-versions:
name: Check Rust versions sync
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -41,6 +42,7 @@ jobs:
python-versions:
name: Check Python SDK versions sync
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -50,6 +52,7 @@ jobs:
python-interpreter-versions:
name: Check Python interpreter versions sync
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -59,6 +62,7 @@ jobs:
python-lockfiles:
name: Check Python lockfiles
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -71,6 +75,7 @@ jobs:
version-consistency:
name: Check version consistency
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -90,6 +95,7 @@ jobs:
edge-image-catalog:
name: Check edge image catalog
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -109,6 +115,7 @@ jobs:
license-headers:
name: Check license headers
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -128,6 +135,7 @@ jobs:
name: Validate third-party licenses
if: inputs.validate-third-party-licenses
runs-on: ubuntu-26.04
+ timeout-minutes: 20
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/utils/validate-third-party-licenses
@@ -135,6 +143,7 @@ jobs:
markdown:
name: Markdown lint
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
@@ -155,6 +164,7 @@ jobs:
shellcheck:
name: Shell scripts lint
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/[email protected]
@@ -171,6 +181,7 @@ jobs:
trailing-whitespace:
name: Check trailing whitespace
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/[email protected]
@@ -183,6 +194,7 @@ jobs:
trailing-newline:
name: Check trailing newline
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/[email protected]
@@ -195,6 +207,7 @@ jobs:
toml-format:
name: Check TOML formatting
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/[email protected]
@@ -218,6 +231,7 @@ jobs:
binary-artifacts:
name: Check binary artifacts
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/[email protected]
@@ -263,6 +277,7 @@ jobs:
]
if: ${{ !cancelled() }}
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- name: Summary
run: |
diff --git a/.github/workflows/_detect.yml b/.github/workflows/_detect.yml
index 813c76746..38902b859 100644
--- a/.github/workflows/_detect.yml
+++ b/.github/workflows/_detect.yml
@@ -66,6 +66,7 @@ permissions:
jobs:
detect:
runs-on: ubuntu-slim
+ timeout-minutes: 10
outputs:
third_party_licenses: ${{ github.event_name != 'pull_request' ||
steps.changed.outputs.third_party_licenses == 'true' }}
rust_matrix: ${{ steps.mk.outputs.rust_matrix }}
diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml
index cb61a2b55..f04c5cf5d 100644
--- a/.github/workflows/post-merge.yml
+++ b/.github/workflows/post-merge.yml
@@ -40,6 +40,7 @@ jobs:
check-auto-publish:
name: Check auto-publish
runs-on: ubuntu-26.04
+ timeout-minutes: 5
if: ${{ !github.event.repository.fork }}
outputs:
docker_components: ${{ steps.check.outputs.docker_components }}
diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml
index 9463882bd..8640cb311 100644
--- a/.github/workflows/pr-title.yml
+++ b/.github/workflows/pr-title.yml
@@ -30,6 +30,7 @@ jobs:
name: PR Title
if: github.event.action != 'edited' || github.event.changes.title
runs-on: ubuntu-26.04-arm
+ timeout-minutes: 5
steps:
- name: Validate PR Title
uses: amannn/action-semantic-pull-request@v6
diff --git a/.github/workflows/pre-merge.yml b/.github/workflows/pre-merge.yml
index 42b50a466..24c0017f1 100644
--- a/.github/workflows/pre-merge.yml
+++ b/.github/workflows/pre-merge.yml
@@ -228,6 +228,7 @@ jobs:
# Final status check
finalize_pr:
runs-on: ubuntu-26.04-arm
+ timeout-minutes: 5
needs: [common, detect, test-rust, test-python, test-php, test-node,
test-go, test-java, test-csharp, test-cpp, test-swift, test-bdd, test-examples,
test-other]
if: ${{ !cancelled() }}
steps:
diff --git a/.github/workflows/stale-prs.yml b/.github/workflows/stale-prs.yml
index fa49b2226..4a5d2384f 100644
--- a/.github/workflows/stale-prs.yml
+++ b/.github/workflows/stale-prs.yml
@@ -19,7 +19,7 @@ name: Stale PRs
on:
schedule:
- - cron: "0 0 * * *"
+ - cron: "17 0 * * *"
workflow_dispatch:
permissions:
@@ -28,6 +28,7 @@ permissions:
jobs:
stale:
runs-on: ubuntu-slim
+ timeout-minutes: 10
steps:
- uses: actions/[email protected]
with: