You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
cleanlab/deploy-bot
v1.2.0
Pre-release
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.
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:"