Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/analyzers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
dogfood:
name: Dogfood analyzers
runs-on: ubuntu-latest
# Dogfood build is ~30s; a generous cap over a hung run.
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
Expand All @@ -47,6 +49,8 @@ jobs:
floor:
name: Dogfood analyzers on the Roslyn floor
runs-on: ubuntu-latest
# Downloads the floor SDK then builds (~1 min); cap a hung run.
timeout-minutes: 15
env:
# Single source of truth for the throwaway package version, passed to BOTH the pack (-p:Version) and
# the consume (-p:FloorCheckVersion) steps. The run-number.attempt suffix makes every run produce a
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
build-test:
name: Build & test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
# Fail a hung run fast instead of holding a runner to the 6-hour default; build+test finishes in ~2 min.
timeout-minutes: 15
strategy:
# Run both legs to completion so a platform-specific failure is always visible.
fail-fast: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
analyze:
name: CodeQL analyze (C#)
runs-on: ubuntu-latest
# Buildless CodeQL is ~2 min; cap a stuck analysis well above that.
timeout-minutes: 20
permissions:
# Required to upload results to the code-scanning dashboard.
security-events: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
commit-lint:
name: Conventional commits
runs-on: ubuntu-latest
# Message linting is seconds; cap a stuck runner.
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
automerge:
name: Auto-merge Dependabot patch/minor
runs-on: ubuntu-latest
# Fetch metadata + enable auto-merge is seconds; cap a stuck runner.
timeout-minutes: 10
# Only act on PRs raised by Dependabot.
if: github.actor == 'dependabot[bot]'
permissions:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
review:
name: Dependency review
runs-on: ubuntu-latest
# The dependency-graph diff is seconds; cap a stuck runner.
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
pack:
name: Dry-run pack (build + SBOM, no publish)
runs-on: ubuntu-latest
# Build + pack is ~1 min; cap a hung run.
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
pack-push:
name: Pack & push NuGet
runs-on: ubuntu-latest
# build + test + pack + attest + push is ~4 min; cap a hung release rather than the 6-hour default.
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
analyze:
name: SonarQube Cloud analysis
runs-on: ubuntu-latest
# Scanner + build + test + coverage is ~3 min; cap a stuck analysis well above that.
timeout-minutes: 20
# PRs opened from a fork cannot read SONAR_TOKEN; skip the analysis there rather
# than fail. Branches in this repository (the normal case) run normally.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
Expand Down