Skip to content

Replace jitterbit/get-changed-files with native git diff - #132

Merged
logan-twilio merged 4 commits into
mainfrom
fix/remove-jitterbit
May 6, 2026
Merged

logan-twilio merged 4 commits into
mainfrom
fix/remove-jitterbit

Conversation

@logan-stytch

@logan-stytch logan-stytch commented May 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Removes the jitterbit/get-changed-files@v1 action
  • Replaces the two-step "get files + loop to check" pattern with a single step using git fetch --depth=1 + git diff --quiet against github.event.before/github.sha
  • Matches the fix already shipped in stytch-node
  • Due to a broken dependency related to hc-install which had an expired GPG key, we had to bump Go to 1.25 because...
    • Updating it required bumping hc-install to v0.9.3+...
    • which transitively pulled in newer golang.org/x/* packages that require Go 1.25...
    • And that cascade broke the CI lint job because golangci-lint v2.1.6 was built with Go 1.24 and refuses to lint a Go 1.25 module

Why

The jitterbit action was deprecated/unmaintained. The native git approach is simpler, has no external dependency, and correctly handles GitHub Actions' shallow clones via the explicit git fetch.

🤖 Generated with Claude Code

@logan-stytch
logan-stytch requested a review from a team as a code owner May 6, 2026 18:45
@logan-stytch
logan-stytch requested review from jkwasniewski-twilio and removed request for a team May 6, 2026 18:45
@logan-twilio
logan-twilio requested a review from Sheena2121 May 6, 2026 19:46
@logan-twilio
logan-twilio enabled auto-merge (squash) May 6, 2026 19:55

@Sheena2121 Sheena2121 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.

Approving but 1 request and 1 question:
request: Dust: can you add some additional PR description about the version changes (i.e. any context on why this isn't risky, etc)

question: What are the procedures/expectations for testing out a PR like this before merging?

@logan-twilio
logan-twilio merged commit 469588e into main May 6, 2026
13 checks passed
@logan-twilio
logan-twilio deleted the fix/remove-jitterbit branch May 6, 2026 20:06
@logan-twilio

Copy link
Copy Markdown
Contributor

question: What are the procedures/expectations for testing out a PR like this before merging?

In this case, since it's a change to a github action, it can be quite hard to test without actually landing the PR. In this case, the equivalent change was made in stytch-node earlier, which is what let us copy the change over to these other repos (though as you can see, it actually took us two tries [one] [two] to fix it in stytch-node).

Here's the run in this repo after landing: https://github.com/stytchauth/terraform-provider-stytch/actions/runs/25458262231/job/74693423947

image

We can see that it didn't run Create release tag since it didn't detect a version bump, which is what we expect. It technically doesn't test the positive case yet, but as mentioned earlier, that's not really easy to test with github actions changes.

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.

3 participants