Skip to content

Commit 9f5b0fb

Browse files
leliaclaude
andcommitted
chore(dependency-review): rename enterprise secret to SOCKET_SFW_API_TOKEN
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent b0e50b0 commit 9f5b0fb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/dependency-review.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: dependency-review
66
# edition per-PR:
77
#
88
# - Trusted SocketDev members on an in-repo (non-fork) PR, when the
9-
# SOCKET_API_TOKEN secret is present -> Socket Firewall ENTERPRISE
9+
# SOCKET_SFW_API_TOKEN secret is present -> Socket Firewall ENTERPRISE
1010
# (authenticated, full org-policy enforcement).
1111
# - Everything else -- Dependabot, forks, external contributors, or a
1212
# missing token -> Socket Firewall FREE (anonymous, no API token), which
@@ -80,7 +80,7 @@ jobs:
8080
IS_FORK: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
8181
AUTHOR_ASSOC: ${{ github.event.pull_request.author_association }}
8282
# Empty for fork PRs (secrets withheld) and until the secret is added.
83-
SOCKET_API_TOKEN: ${{ secrets.SOCKET_API_TOKEN }}
83+
SOCKET_SFW_API_TOKEN: ${{ secrets.SOCKET_SFW_API_TOKEN }}
8484
run: |
8585
mode=firewall-free
8686
# Enterprise only for a SocketDev org member (OWNER/MEMBER) on an
@@ -89,7 +89,7 @@ jobs:
8989
# contributors, or a missing token -- uses the free edition.
9090
if [ "$IS_DEPENDABOT" != "true" ] \
9191
&& [ "$IS_FORK" != "true" ] \
92-
&& [ -n "$SOCKET_API_TOKEN" ] \
92+
&& [ -n "$SOCKET_SFW_API_TOKEN" ] \
9393
&& printf '%s' "$AUTHOR_ASSOC" | grep -qE '^(OWNER|MEMBER)$'; then
9494
mode=firewall-enterprise
9595
fi
@@ -128,7 +128,7 @@ jobs:
128128
with:
129129
uv: "true"
130130
mode: ${{ needs.inspect.outputs.sfw_mode }}
131-
socket-token: ${{ secrets.SOCKET_API_TOKEN }}
131+
socket-token: ${{ secrets.SOCKET_SFW_API_TOKEN }}
132132

133133
- name: Sync project through Socket Firewall
134134
# `sfw uv sync` is the intended way to route uv through Socket Firewall

0 commit comments

Comments
 (0)