Skip to content

bit-tasks/github-action-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bit GitHub Action Examples for Git CI/CD Pipelines

Example GitHub Actions for common Bit and Git CI/CD workflows.

Setup Guide

  1. You need to place them inside .github/workflows/ directory at the root of your GitHub repository.
  2. If your workspace is not at the root of the Git repository, specify the input parameter ws-dir in the task bit-tasks/init@v3.
  3. Create new secret variables (BIT_CONFIG_ACCESS_TOKEN), GIT_USER_NAME and GIT_USER_EMAIL and use them as environment variables in your GitHub Action.
  4. Define GITHUB_TOKEN also as an environment variable. Here, GITHUB_TOKEN secret is automatically created by GitHub Actions.

Automating Component Release

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

⬇️ Download Files

Update Workspace Components, External Dependencies and Envs

Task Example Repo and Docs
Dependency Update dependency-update.yml link

⬇️ Download Files

Sync Git Branches with Bit Lanes

Task Example Repo and Docs
Branch Lane branch-lane.yml link
Lane Branch lane-branch.yml link

⬇️ Download Files

Contributor Guide

To create zip files use the below commands.

chmod +x zip_files.sh
bash ./zip_files.sh

About

Bit GitHub Action Examples for Git CI/CD Pipelines

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages