Skip to content

Update Socket Basics job call path - #2

Closed
sgrammargs wants to merge 2 commits into
v3-v2021-02-25from
remove-legacy-socket-basics-config
Closed

sgrammargs wants to merge 2 commits into
v3-v2021-02-25from
remove-legacy-socket-basics-config

Conversation

@sgrammargs

@sgrammargs sgrammargs commented Sep 1, 2026

Copy link
Copy Markdown

Migrates this repo's Socket Basics CI scan to the new public/private split — a public repo for the scanning mechanism, a private repo for configuration specs.

Changes to .github/workflows/socket-basics.yml:

  • uses: now points to ynab/ynab-sast-scanner/.github/workflows/socket-basics.yml@main
  • Added the SAST_SUPPRESSIONS_APP_PRIVATE_KEY secret

Points the CI workflow at ynab-sast-scanner instead of shared-actions, adds the
new App-token secret, and removes the legacy shared-actions caller comment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sgrammargs
sgrammargs marked this pull request as ready for review September 1, 2026 17:19
@sgrammargs
sgrammargs requested a review from grantcox September 1, 2026 17:37
Per Grant's review feedback, matching evergreen#30007.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@grantcox grantcox left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Build failures are unrelated. I'll work on a fix for those - we really should have our CI steps working on this one, even if we very rarely (never?) make any changes to it

@grantcox grantcox left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actually, this won't work. The merge target of this PR is the repo's primary branch (v3-2021-02-25), which has been inherited from the upstream's primary branch.

But we don't use that - we use our custom ynab-v2 branch only. And that branch is not based upon v3-2021-02-25 at all - presumably there is some common branch from way back (many years ago), but that's not relevant here. Changes made to the v3... branch will not be visible in the tree used by ynab-v2.

So, this PR needs to be based directly on ynab-v2. We can't just change the target here in Github, because this PR's tip does have all the v3... history in it.

This issue also affected the prior "add Socket Basics" workflow PRs too - those haven't been running on our actual ynab-v2 branch (or PRs based off that, although there have been zero of those).

@grantcox

grantcox commented Sep 2, 2026

Copy link
Copy Markdown

Here is a replacement PR: #4

And, I have asked Brady to change our fork's default branch to ynab-v2, to avoid this kind of "incorrect merge target" from happening again.

@grantcox grantcox closed this Sep 2, 2026
@sgrammargs
sgrammargs deleted the remove-legacy-socket-basics-config branch September 3, 2026 16:09
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