ci: redesign CI-related workflows to allow marking them as "Required” before merging a PR (#368)

This commit is contained in:
Marco Pasqualetti
2025-01-18 20:36:06 +01:00
committed by GitHub
parent 7632e6a464
commit 96deea7f31
4 changed files with 68 additions and 36 deletions
+4 -4
View File
@@ -4,20 +4,20 @@ on:
push:
branches:
- 'main'
# match
# - all files inside `apps/documentation` and `.github`
# - all files in the root expect `Cargo.toml`
paths:
# ⬇ Keep paths in sync with `typescript.yml`
- '.github/**'
- '*'
- '!Cargo.toml'
# ⬆ Keep paths in sync with `typescript.yml`
- 'apps/documentation/**'
pull_request:
# same as `on.push.paths`
paths:
# ⬇ Keep paths in sync with `typescript.yml`
- '.github/**'
- '*'
- '!Cargo.toml'
# ⬆ Keep paths in sync with `typescript.yml`
- 'apps/documentation/**'
jobs: