Skip to content

add socket tier 1 reachability analysis - #25

Open
kanwalpreetd wants to merge 1 commit into
stellar:mainfrom
kanwalpreetd:main
Open

add socket tier 1 reachability analysis#25
kanwalpreetd wants to merge 1 commit into
stellar:mainfrom
kanwalpreetd:main

Conversation

@kanwalpreetd

Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings June 29, 2026 11:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scheduled/on-demand GitHub Actions workflow to run Socket’s “full application reachability” scan (Tier 1 when possible) for this Rust repository, and surfaces Tier-2 fallbacks as a non-failing warning to keep scans actionable without creating noisy failures.

Changes:

  • Introduces a new socket-scan workflow scheduled weekly and runnable via workflow_dispatch.
  • Installs Rust + Node tooling, installs the Socket CLI, and runs socket scan create --reach.
  • Post-processes scan output to emit a GitHub Actions ::warning:: when Tier 2 reachability fallbacks are detected.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +37 to +39
# Force JS-based GitHub actions (actions/checkout, actions/setup-*, etc.) to
# use Node 24 instead of the soon-to-be-deprecated Node 20. Safe to remove
# after 2026-06-16 (when Node 24 becomes the default and this becomes a no-op).
Comment on lines +53 to +54
- name: Enable Corepack (yarn/pnpm per repo packageManager)
run: corepack enable
Comment on lines +59 to +62
- name: Run Socket reachability scan
env:
SOCKET_SECURITY_API_TOKEN: ${{ secrets.SOCKET_SECURITY_API_TOKEN }}
run: |
run: corepack enable

- name: Install Socket CLI
run: npm install -g socket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants