ABTasty Github Action
This repository contains a custom GitHub Action designed to create and manage your AB Tasty resources for feature experimentation and web experimentation products such as projects, campaigns, teams, etc... You can use these commands to perform common AB Tasty platform actions from your terminal or through scripts and other automation.
Our Github Action is built on top of our CLI, enabling you to use resource loader to batch your processes.
For example, you can use the AB Tasty Action to manage :
Feature experimentation: Projects, campaigns, flags, targeting keys, goals, etc...
Features
Feature Experimentation:
List resources: project, campaign, variation group, variation, targeting key, goal
Usage
Prerequisites
Make sure you have the following set up before using this action:
A GitHub repository
Necessary permissions or secrets added to your repository
Basic Example
Add the following to your workflow YAML file (e.g.,
.github/workflows/your-workflow.yml):
Inputs
fe-list-flag
No
N/A
Feature experimentation: List flags
fe-list-campaign
No
N/A
Feature experimentation: List campaigns
fe-list-project
No
N/A
Feature experimentation: List projects
fe-list-goal
No
N/A
Feature experimentation: List goals
fe-list-tk
No
N/A
Feature experimentation: List targeting keys
fe-list-vg
No
N/A
Feature experimentation: List variation groups
fe-list-variation
No
N/A
Feature experimentation: List variations
Outputs
commandsResult
Result of CLI flow
Secrets
If your action requires secrets, add them to your repository under Settings > Secrets and variables > Actions.
CLIENT_ID
Client ID
CLIENT_SECRET
Client Secret
ACCOUNT_ID
Account ID
ACCOUNT_ENVIRONMENT_ID
Account environment ID
Example Scenarios
Example 1: List project
Example 2: Load resources
Development
Testing Locally
Clone this repository:
Make your changes and commit them.
Test the action locally using act or a similar tool.
Building the Action
If your action uses a compiled language or requires packaging:
If you set up act:
Contributing
Contributions are welcome! Please follow these steps:
Fork the repository.
Create a new branch for your feature or bugfix.
Submit a pull request.
License
This project is licensed under the MIT License.
Acknowledgments
For questions or support, open an issue or contact [email protected].
Last updated
Was this helpful?

