Merge pull request #693 from PicPeak/chore/workflow-required-checks-always-fire
ci: required-check workflows fire on every PR (drop paths filter + post-rename branch list)
This commit is contained in:
@@ -16,24 +16,17 @@ name: Fresh-install smoke
|
|||||||
# don't pay the build cost.
|
# don't pay the build cost.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# No `paths:` filter — branch protection on `main` + `stable` lists
|
||||||
|
# `fresh-install` as a REQUIRED check, and a path-filtered trigger
|
||||||
|
# that skipped on unrelated PRs (e.g. frontend-only) would leave the
|
||||||
|
# required check "missing" forever and block the merge. Better to
|
||||||
|
# pay the boot cost on every PR than maintain a per-path allowlist
|
||||||
|
# that drifts as the install surface evolves. (Branches also updated
|
||||||
|
# post-#669 rename: beta → main, old main → stable.)
|
||||||
push:
|
push:
|
||||||
branches: [main, beta]
|
branches: [main, stable]
|
||||||
paths:
|
|
||||||
- 'backend/Dockerfile'
|
|
||||||
- 'backend/wait-for-db.sh'
|
|
||||||
- 'backend/migrations/**'
|
|
||||||
- 'backend/package*.json'
|
|
||||||
- 'docker-compose.production.yml'
|
|
||||||
- '.github/workflows/install-smoke.yml'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, beta]
|
branches: [main, stable]
|
||||||
paths:
|
|
||||||
- 'backend/Dockerfile'
|
|
||||||
- 'backend/wait-for-db.sh'
|
|
||||||
- 'backend/migrations/**'
|
|
||||||
- 'backend/package*.json'
|
|
||||||
- 'docker-compose.production.yml'
|
|
||||||
- '.github/workflows/install-smoke.yml'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -30,20 +30,17 @@ name: Schema drift (#530)
|
|||||||
# the same shape is caught before merge.
|
# the same shape is caught before merge.
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# No `paths:` filter — branch protection on `main` + `stable` lists
|
||||||
|
# `upgrade-from-bootstrap` as a REQUIRED check. A path-filtered
|
||||||
|
# trigger that skipped on unrelated PRs would leave the required
|
||||||
|
# check "missing" forever, blocking every PR that doesn't touch
|
||||||
|
# migrations. The ~75-second cost on every PR buys an unconditional
|
||||||
|
# safety net. (Branches also updated post-#669 rename: beta → main,
|
||||||
|
# old main → stable.)
|
||||||
push:
|
push:
|
||||||
branches: [main, beta]
|
branches: [main, stable]
|
||||||
paths:
|
|
||||||
- 'backend/migrations/**'
|
|
||||||
- 'backend/src/database/db.js'
|
|
||||||
- 'backend/knexfile.js'
|
|
||||||
- '.github/workflows/schema-drift.yml'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, beta]
|
branches: [main, stable]
|
||||||
paths:
|
|
||||||
- 'backend/migrations/**'
|
|
||||||
- 'backend/src/database/db.js'
|
|
||||||
- 'backend/knexfile.js'
|
|
||||||
- '.github/workflows/schema-drift.yml'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
Reference in New Issue
Block a user