Skip to content

Commit 52307fc

Browse files
committed
Added mirror gscan CI workflows for themes
Added subtree-persisted workflow files under each theme package so standalone mirror repositories run `pnpm zip` and fatal `gscan` before Renovate or direct PRs can be considered passing. Documented that these package-local workflows are for mirror repositories, while monorepo package validation remains owned by the existing root workflows.
1 parent 7dcb486 commit 52307fc

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- 'renovate/*'
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
test:
15+
name: Test
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
20+
with:
21+
persist-credentials: false
22+
23+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6
24+
25+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
26+
with:
27+
node-version: 24
28+
29+
- run: pnpm install --no-frozen-lockfile
30+
31+
- run: pnpm zip
32+
33+
- run: pnpm exec gscan --fatal --verbose .
34+
35+
all-tests-pass:
36+
name: All tests pass
37+
if: always()
38+
needs: [test]
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: Verify all required jobs succeeded
42+
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
43+
run: exit 1

0 commit comments

Comments
 (0)