Example GitHub Actions for common Bit and Git CI/CD workflows.
- You need to place them inside
.github/workflows/
directory at the root of your GitHub repository. - If your workspace is not at the root of the Git repository, specify the input parameter
ws-dir
in the taskbit-tasks/init@v3
. - Create new secret variables (
BIT_CONFIG_ACCESS_TOKEN
),GIT_USER_NAME
andGIT_USER_EMAIL
and use them as environment variables in your GitHub Action. - Define
GITHUB_TOKEN
also as an environment variable. Here,GITHUB_TOKEN
secret is automatically created by GitHub Actions.
Task | Example | Repo and Docs |
---|---|---|
Initialize Bit | bit-init.yml | link |
Bit Verify Components | verify.yml | link |
Bit Tag and Export | tag-export.yml | link |
Bit Pull Request Build | pull-request.yml | link |
Bit Lane Cleanup | lane-cleanup.yml | link |
Commit Bitmap | commit-bitmap.yml | link |
Task | Example | Repo and Docs |
---|---|---|
Dependency Update | dependency-update.yml | link |
Task | Example | Repo and Docs |
---|---|---|
Branch Lane | branch-lane.yml | link |
Lane Branch | lane-branch.yml | link |
To create zip files use the below commands.
chmod +x zip_files.sh
bash ./zip_files.sh