Download these files and place them in your repo's
.github/workflows
directory. See the tasks in Github Marketplace.Add the following environment variables:
Environment Variable | Value/Description |
---|---|
GITHUB_TOKEN | a GitHub secret set with a GitHub token that has the permission levels required to perform the CI actions in your repository |
BIT_CONFIG_ACCESS_TOKEN | a bit.cloud access token with permission levels required for your workflow |
GIT_USER_NAME | a username for git commits made by the CI |
GIT_USER_EMAIL | an email for git commits made by the CI |
tip
Ensure to setup your correct owner and scope name on the workspace.jsonc
prior to releasing
To learn more see the docs for this implementation of the workflow, or read the 'integrating Bit with your existing CI' blog.
Create a permanent access token for your CI with the proper permissions to install, import and export components in the relevant scopes.
Head over to your organization page on bit.cloud, then click on the 'settings' tab, and then on the 'access tokens' tab.
