Automate Transformations Management with Rudder CLI and GitHub Actions
Beta
Leverage GitHub Actions for automated validation, testing, and deployment of your RudderStack transformations.
Available Plans
free
starter
growth
enterprise
3 minute read
This guide explains how to validate, test, and manage your RudderStack transformations directly via GitHub workflows using the Rudder CLI Project Manager Action.
For testing or development purposes only: Generate a Personal Access Token with Read-Write role
RudderStack recommends using a workspace-level Service Access Token for authentication.
Any action authenticated by a Personal Access Token will break if the user is removed from the organization or a breaking change is made to their permissions.
Path to the folder containing Rudder CLI project files.
-
mode
Operation mode: validate, dry-run, or apply.
-
cli_version
Version of the Rudder CLI tool to use.
v0.13.1
Test action (rudderlabs/rudder-cli-action/transformations-test)
Specialized action for running transformation tests.
Input
Description
Default
location
Path to the folder containing Rudder CLI project files.
-
scope
Test scope: all (all transformations) or modified (only changed ones).
-
verbose
Show detailed test output with diffs for failures.
false
cli_version
Version of the Rudder CLI tool to use.
v0.13.1
How it works
Validation: The validate mode ensures your YAML files are correctly formatted before any further steps.
Testing: The transformations-test action runs your transformation code against the defined test cases. Using scope: modified in PRs is recommended for faster feedback.
Deployment: When changes are merged into the main branch, the apply mode pushes the updates to your RudderStack workspace.
Questions? We're here to help.
Join the RudderStack Slack community or email us for support
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.