Skip to content

Commit be4b4bf

Browse files
authored
Merge pull request #187 from yumechi/claude/npm-ignore-scripts-security-Ct9Ol
2 parents a5b71a1 + c3fb703 commit be4b4bf

7 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/blog-analytics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Install dependencies
3535
working-directory: tools/blog-analytics
36-
run: uv sync
36+
run: uv sync --frozen
3737

3838
- name: Create output directory
3939
run: mkdir -p output

.github/workflows/deploy-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
cache: 'pnpm'
2121

2222
- name: Install dependencies
23-
run: pnpm install
23+
run: pnpm install --frozen-lockfile
2424
- name: Test build website
2525
run: pnpm build

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
cache: 'pnpm'
2424

2525
- name: Install dependencies
26-
run: pnpm install
26+
run: pnpm install --frozen-lockfile
2727
- name: Build website
2828
run: pnpm build
2929

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore-scripts=true

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
minimumReleaseAge: 10080 # 7 days
2+
13
overrides:
24
js-yaml@<3.14.2: '>=3.14.2'
35
js-yaml@>=4.0.0 <4.1.1: '>=4.1.1'

renovate.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"minimumReleaseAge": "7 days"
5+
}

tools/blog-analytics/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ dev = [
1717

1818
[tool.uv]
1919
package = false
20+
exclude-newer = "1 week"

0 commit comments

Comments
 (0)