@smi-digital/create-smi-app 2.10.1 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,13 +2,25 @@ name: PR Validation
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
pull_request:
|
|
5
|
-
branches: [
|
|
5
|
+
branches: ["main"]
|
|
6
|
+
|
|
7
|
+
# Superseded pushes to the same PR cancel the previous run (saves minutes).
|
|
8
|
+
concurrency:
|
|
9
|
+
group: pr-validation-${{ github.event.pull_request.number || github.ref }}
|
|
10
|
+
cancel-in-progress: true
|
|
11
|
+
|
|
12
|
+
# Least-privilege token. Do not remove `pull-requests: read` — change
|
|
13
|
+
# detection needs it to list the PR's changed files.
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
pull-requests: read
|
|
6
17
|
|
|
7
18
|
jobs:
|
|
8
|
-
|
|
9
|
-
uses: smi-digital/ci-library/.github/workflows/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
19
|
+
ci:
|
|
20
|
+
uses: smi-digital/ci-library/.github/workflows/pr-strapi-astro-pipeline.yml@main
|
|
21
|
+
# Defaults match this scaffold's layout (frontend/ + backend/, Node 24).
|
|
22
|
+
# See the smi-digital/ci-library README for all available inputs
|
|
23
|
+
# (frontend_dir, backend_dir, node_version, audit_level,
|
|
24
|
+
# backend_audit_mode, run_integration, run_sast).
|
|
25
|
+
#
|
|
26
|
+
# Branch protection: require the single check "ci / CI Status" on main.
|