|
5 | 5 | branches: [main, staging, dev] |
6 | 6 | pull_request: |
7 | 7 | branches: [main, staging, dev] |
| 8 | + # Docs content and markdown don't affect the app build or images; push |
| 9 | + # runs stay unfiltered because they feed the deploy pipeline. |
| 10 | + paths-ignore: |
| 11 | + - 'apps/docs/content/**' |
| 12 | + - '**/*.md' |
8 | 13 |
|
9 | 14 | concurrency: |
10 | 15 | group: ci-${{ github.ref }} |
|
24 | 29 | detect-version: |
25 | 30 | name: Detect Version |
26 | 31 | runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 32 | + timeout-minutes: 5 |
27 | 33 | if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/dev') |
28 | 34 | outputs: |
29 | 35 | version: ${{ steps.extract.outputs.version }} |
|
76 | 82 | needs: [detect-version, migrate-dev] |
77 | 83 | if: github.event_name == 'push' && github.ref == 'refs/heads/dev' |
78 | 84 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 85 | + timeout-minutes: 30 |
79 | 86 | permissions: |
80 | 87 | contents: read |
81 | 88 | id-token: write |
@@ -139,6 +146,7 @@ jobs: |
139 | 146 | needs: [migrate-dev] |
140 | 147 | if: github.event_name == 'push' && github.ref == 'refs/heads/dev' |
141 | 148 | runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 149 | + timeout-minutes: 15 |
142 | 150 | steps: |
143 | 151 | - name: Checkout code |
144 | 152 | uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 |
@@ -185,6 +193,7 @@ jobs: |
185 | 193 | github.event_name == 'push' && |
186 | 194 | (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') |
187 | 195 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 196 | + timeout-minutes: 30 |
188 | 197 | permissions: |
189 | 198 | contents: read |
190 | 199 | packages: write |
@@ -284,6 +293,7 @@ jobs: |
284 | 293 | github.event_name == 'push' && |
285 | 294 | (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') |
286 | 295 | runs-on: blacksmith-2vcpu-ubuntu-2404 |
| 296 | + timeout-minutes: 10 |
287 | 297 | permissions: |
288 | 298 | contents: read |
289 | 299 | id-token: write |
@@ -351,6 +361,7 @@ jobs: |
351 | 361 | build-ghcr-arm64: |
352 | 362 | name: Build ARM64 (GHCR Only) |
353 | 363 | runs-on: blacksmith-8vcpu-ubuntu-2404-arm |
| 364 | + timeout-minutes: 30 |
354 | 365 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
355 | 366 | permissions: |
356 | 367 | contents: read |
@@ -399,6 +410,7 @@ jobs: |
399 | 410 | create-ghcr-manifests: |
400 | 411 | name: Create GHCR Manifests |
401 | 412 | runs-on: blacksmith-2vcpu-ubuntu-2404 |
| 413 | + timeout-minutes: 10 |
402 | 414 | needs: [promote-images, build-ghcr-arm64, detect-version] |
403 | 415 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
404 | 416 | permissions: |
@@ -462,6 +474,7 @@ jobs: |
462 | 474 | check-docs-changes: |
463 | 475 | name: Check Docs Changes |
464 | 476 | runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 477 | + timeout-minutes: 5 |
465 | 478 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
466 | 479 | outputs: |
467 | 480 | docs_changed: ${{ steps.filter.outputs.docs }} |
@@ -490,6 +503,7 @@ jobs: |
490 | 503 | create-release: |
491 | 504 | name: Create GitHub Release |
492 | 505 | runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 506 | + timeout-minutes: 10 |
493 | 507 | needs: [create-ghcr-manifests, detect-version] |
494 | 508 | if: needs.detect-version.outputs.is_release == 'true' |
495 | 509 | permissions: |
|
0 commit comments