|
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 |
@@ -353,6 +363,7 @@ jobs: |
353 | 363 | build-ghcr-arm64: |
354 | 364 | name: Build ARM64 (GHCR Only) |
355 | 365 | runs-on: blacksmith-8vcpu-ubuntu-2404-arm |
| 366 | + timeout-minutes: 30 |
356 | 367 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
357 | 368 | permissions: |
358 | 369 | contents: read |
@@ -401,6 +412,7 @@ jobs: |
401 | 412 | create-ghcr-manifests: |
402 | 413 | name: Create GHCR Manifests |
403 | 414 | runs-on: blacksmith-2vcpu-ubuntu-2404 |
| 415 | + timeout-minutes: 10 |
404 | 416 | needs: [promote-images, build-ghcr-arm64, detect-version] |
405 | 417 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
406 | 418 | permissions: |
@@ -466,6 +478,7 @@ jobs: |
466 | 478 | check-docs-changes: |
467 | 479 | name: Check Docs Changes |
468 | 480 | runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 481 | + timeout-minutes: 5 |
469 | 482 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
470 | 483 | outputs: |
471 | 484 | docs_changed: ${{ steps.filter.outputs.docs }} |
@@ -494,6 +507,7 @@ jobs: |
494 | 507 | create-release: |
495 | 508 | name: Create GitHub Release |
496 | 509 | runs-on: blacksmith-4vcpu-ubuntu-2404 |
| 510 | + timeout-minutes: 10 |
497 | 511 | needs: [create-ghcr-manifests, detect-version] |
498 | 512 | if: needs.detect-version.outputs.is_release == 'true' |
499 | 513 | permissions: |
|
0 commit comments