Merge pull request #193 from Nwflower/ci/workflow-timeouts-and-path-filters
ci: bound job time and skip docs-only pushes
This commit is contained in:
4 files changed
+20
No files matched your search
@@ -24,6 +24,7 @@ concurrency:
|
||||
jobs:
|
||||
plan:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: write
|
||||
outputs:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -17,6 +17,7 @@ env:
|
||||
jobs:
|
||||
dev-release:
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
@@ -25,6 +25,7 @@ env:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user