diff --git a/.github/workflows/api-tracker-java25.yml b/.github/workflows/api-tracker-java25.yml index 72610f4..1933be3 100644 --- a/.github/workflows/api-tracker-java25.yml +++ b/.github/workflows/api-tracker-java25.yml @@ -10,6 +10,7 @@ permissions: jobs: track-api: runs-on: ubuntu-latest + timeout-minutes: 45 steps: - name: Checkout repository diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52d00af..c817ea8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,12 +3,20 @@ name: CI on: push: branches: ["**"] + paths-ignore: + - '**/*.md' + - 'docs/**' pull_request: branches: ["**"] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout uses: actions/checkout@v4 @@ -50,6 +58,7 @@ jobs: docker-build: name: Build Docker image (Java 25) runs-on: ubuntu-latest + timeout-minutes: 20 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/daily-api-tracker.yml b/.github/workflows/daily-api-tracker.yml index f2b71d8..23caee1 100644 --- a/.github/workflows/daily-api-tracker.yml +++ b/.github/workflows/daily-api-tracker.yml @@ -13,6 +13,7 @@ permissions: jobs: track-api: runs-on: ubuntu-latest + timeout-minutes: 45 steps: - name: Checkout repository diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0b21345..752cff2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,14 +3,22 @@ name: Java CI with Maven on: push: branches: [ "main" ] + paths-ignore: + - '**/*.md' + - 'docs/**' pull_request: branches: [ "main" ] types: [opened, synchronize, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-java21: name: Test Core Library (Java 21) runs-on: ubuntu-latest + timeout-minutes: 20 steps: - uses: actions/checkout@v4 @@ -34,6 +42,7 @@ jobs: test-java25: name: Test with Tooling (Java 25) runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 @@ -57,6 +66,7 @@ jobs: docker-build: name: Build Docker image (Java 25) runs-on: ubuntu-latest + timeout-minutes: 20 needs: test-java25 steps: diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index 60d9e94..a0729b0 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -17,6 +17,7 @@ concurrency: jobs: release: runs-on: ubuntu-latest + timeout-minutes: 60 steps: - name: Checkout uses: actions/checkout@v4 @@ -127,6 +128,7 @@ jobs: docker-publish: name: Publish Docker image to GHCR runs-on: ubuntu-latest + timeout-minutes: 30 needs: release steps: - name: Checkout diff --git a/.github/workflows/secrets-self-check.yml b/.github/workflows/secrets-self-check.yml index e685ca6..467173e 100644 --- a/.github/workflows/secrets-self-check.yml +++ b/.github/workflows/secrets-self-check.yml @@ -6,6 +6,7 @@ on: jobs: check: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - name: Print SHA256 of Central creds and GPG secrets env: