Skip to content

Commit 450d9ac

Browse files
committed
Add required .github/workflows/security-code-scanner.yml file
1 parent 25f8044 commit 450d9ac

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
# allow manual triggering of the workflow
3+
workflow_dispatch:
4+
# Required for Repository Ruleset workflows
5+
push:
6+
7+
# Add this permissions block
8+
permissions:
9+
actions: read
10+
pull-requests: read
11+
security-events: write
12+
id-token: write
13+
contents: read
14+
15+
jobs:
16+
Security-Code-Scanner:
17+
uses: shopify-playground/github-actions/.github/workflows/security-code-scanner-workflow.yml@main
18+
secrets:
19+
token: ${{ secrets.GITHUB_TOKEN }}

packages/theme-component-generator/package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
"scripts": {
88
"start": "node --experimental-strip-types src/index.ts",
99
"dev": "node --experimental-strip-types --watch src/index.ts",
10-
"build": "echo noop"
10+
"build": "echo noop",
11+
"build:ts": "echo noop",
12+
"build:ci": "echo noop",
13+
"postbuild:ts": "echo noop",
14+
"generate-factory-configs": "echo noop",
15+
"test": "echo noop",
16+
"test": "echo noop"
1117
},
1218
"keywords": [
1319
"mcp",
@@ -29,6 +35,6 @@
2935
"@types/node": "^20.0.0"
3036
},
3137
"engines": {
32-
"node": ">=22.0.0"
38+
"node": ">=20.0.0"
3339
}
3440
}

0 commit comments

Comments
 (0)