From 28eec17d715649be6a59df5e591ee6a31d2442b9 Mon Sep 17 00:00:00 2001 From: Marguerite Martinez Date: Wed, 2 Sep 2026 09:48:01 -0400 Subject: [PATCH] Add Socket Basics security scanning Adds the standard CI wrapper calling ynab-sast-scanner, matching the migrated setup already in place across other repos. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/socket-basics.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/socket-basics.yml diff --git a/.github/workflows/socket-basics.yml b/.github/workflows/socket-basics.yml new file mode 100644 index 0000000..5ddf328 --- /dev/null +++ b/.github/workflows/socket-basics.yml @@ -0,0 +1,16 @@ +name: Socket Basics Security Scan + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + socket-basics-security-scan: + # We intentionally run this shared action from @main, not from a pinned sha + # this is because we control the ynab-sast-scanner repo, so there is not a significant risk of malicious changes being pushed. + # Plus, the shared action does use pinned dependencies, and so will be updated fairly often. When we do that, we do not + # want to have to update the sha in every repo that uses this shared action, before such updates apply. + uses: ynab/ynab-sast-scanner/.github/workflows/socket-basics.yml@main + secrets: + SOCKET_SECURITY_API_KEY: ${{ secrets.SOCKET_SECURITY_API_KEY }} + SAST_SUPPRESSIONS_APP_PRIVATE_KEY: ${{ secrets.SAST_SUPPRESSIONS_APP_PRIVATE_KEY }}