This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 76abfb9a891 Add TypeScript SDK dependency security checks (#71397)
76abfb9a891 is described below
commit 76abfb9a891d61c2604ab688686f8440b995298e
Author: Jason(Zhe-You) Liu <[email protected]>
AuthorDate: Tue Aug 11 17:37:34 2026 +0800
Add TypeScript SDK dependency security checks (#71397)
---
.github/dependabot.yml | 18 +++++++++++
.github/workflows/ts-sdk-dependency-review.yml | 44 ++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 7aa3d8d6e2e..f0cbf04f849 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -371,6 +371,24 @@ updates:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
+ - package-ecosystem: npm
+ cooldown:
+ default-days: 7
+ directory: /ts-sdk
+ schedule:
+ interval: "weekly"
+ groups:
+ ts-sdk-package-updates:
+ patterns:
+ - "*"
+ update-types:
+ - "minor"
+ - "patch"
+ ts-sdk-security-updates:
+ applies-to: security-updates
+ patterns:
+ - "*"
+
- package-ecosystem: "uv"
cooldown:
default-days: 4
diff --git a/.github/workflows/ts-sdk-dependency-review.yml
b/.github/workflows/ts-sdk-dependency-review.yml
new file mode 100644
index 00000000000..34054827b82
--- /dev/null
+++ b/.github/workflows/ts-sdk-dependency-review.yml
@@ -0,0 +1,44 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+---
+name: TypeScript SDK dependency review
+
+on: # yamllint disable-line rule:truthy
+ pull_request:
+ branches:
+ - main
+ paths:
+ - "ts-sdk/package.json"
+ - "ts-sdk/pnpm-lock.yaml"
+ - ".github/workflows/ts-sdk-dependency-review.yml"
+
+permissions:
+ contents: read
+
+concurrency:
+ group: ts-sdk-dependency-review-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ dependency-review:
+ name: Reject vulnerable dependency changes
+ runs-on: ubuntu-latest
+ steps:
+ - name: Review dependency changes
+ uses:
actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 #
v4.9.0
+ with:
+ fail-on-severity: high