Skip to content

cleanlab/deploy-bot

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploy-bot

This action manages deployments by creating deployment PRs between a designated source and target branch.

The action first creates a deployment branch, from the source branch, named deployment/%m-%d-%Y. Then, a PR is created, targeting the target branch from the source branch. All contributors to the PR are added as reviewers.

Example Workflow

An example workflow is shown below. This workflow runs the deploy-bot every weekday at 9AM ET.

name: deploy-bot

on:
  schedule:
    - cron: 0 13 * * 1-5

jobs:
    deploy:
        steps:
            - uses: cleanlab/[email protected]
              with:
                source: staging
                target: main
                pr_body: "Daily deplyoment PR :robot:"