Skip to content

Commit af7d9ca

Browse files
Copilothuangyiirene
andcommitted
fix: add safety checks and clarify security policy in workflows
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 51528f7 commit af7d9ca

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ updates:
88
day: "monday"
99
time: "02:00"
1010
open-pull-requests-limit: 10
11-
reviewers:
12-
- "objectstack-ai/maintainers"
1311
commit-message:
1412
prefix: "chore(deps)"
1513
include: "scope"

.github/workflows/pr-automation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ jobs:
7575

7676
- name: Check for changesets
7777
run: |
78+
if [ ! -d ".changeset" ]; then
79+
echo "::warning::.changeset directory not found. Skipping changeset check."
80+
exit 0
81+
fi
7882
CHANGESET_COUNT=$(find .changeset -name '*.md' ! -name 'README.md' | wc -l)
7983
if [ "$CHANGESET_COUNT" -eq 0 ]; then
8084
echo "::warning::No changeset found. Please add a changeset if this PR includes user-facing changes."

.github/workflows/validate-deps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
5252
- name: Check for dependency issues
5353
run: |
54+
# Fail the workflow if high-severity vulnerabilities are found
55+
# This enforces security compliance before merging
5456
pnpm audit --audit-level=high
5557
5658
- name: List outdated packages

0 commit comments

Comments
 (0)