ci: bound job time and skip docs-only pushes

A stuck Windows job could hold a runner for the default six hours, so each job now has a timeout: ten minutes for the alpha plan step and thirty for the build jobs.

Pushes and pull requests that only touch documentation, readmes or repository templates no longer start the full verification, which keeps the queue for changes that can break the build.
This commit is contained in:
千川白浪 committed 2026-12-05 02:12:36 -07:00
1 parent ddc7f61b06
commit 875f4df333
4 files changed
+20

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ concurrency:
jobs:
plan:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
outputs:
+17
View File
@@ -3,8 +3,24 @@ name: CI
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'README.*.md'
- 'AGENTS.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.github/readme/**'
pull_request:
branches: [main]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'README.*.md'
- 'AGENTS.md'
- '.github/ISSUE_TEMPLATE/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.github/readme/**'
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
@@ -16,6 +32,7 @@ env:
jobs:
verify:
runs-on: windows-latest
timeout-minutes: 30
outputs:
rolling: ${{ steps.rolling.outputs.publish }}
steps:
+1
View File
@@ -17,6 +17,7 @@ env:
jobs:
dev-release:
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
+1
View File
@@ -25,6 +25,7 @@ env:
jobs:
release:
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with: