Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Enforce dev as base branch for development #8369

Merged
merged 15 commits into from
Oct 17, 2024

Conversation

Pwuts
Copy link
Member

@Pwuts Pwuts commented Oct 17, 2024

We want to keep master as the default branch for easy and safe cloning, but dev as the target for all pull requests.

Changes 🏗️

  • ci: Add a workflow that automatically changes PRs' target branch from master to dev unless the head branch is dev or hotfix/*

@Pwuts Pwuts requested a review from a team as a code owner October 17, 2024 14:09
@github-actions github-actions bot added platform/backend AutoGPT Platform - Back end size/m labels Oct 17, 2024
Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for auto-gpt-docs failed.

Name Link
🔨 Latest commit 7ee8709
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/67111a8cf3373500083922c4

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for auto-gpt-docs failed.

Name Link
🔨 Latest commit aaafded
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/67112196dcae1b00081142d4

Copy link
Contributor

This PR targets the master branch but does not come from dev or a hotfix/* branch.\n\nAutomatically setting the base branch to dev.

@github-actions github-actions bot changed the base branch from master to dev October 17, 2024 14:31
@Pwuts Pwuts changed the base branch from dev to master October 17, 2024 14:34
Copy link
Contributor

This PR targets the master branch but does not come from dev or a hotfix/* branch.\n\nAutomatically setting the base branch to dev.

@github-actions github-actions bot changed the base branch from master to dev October 17, 2024 14:35
@Pwuts Pwuts changed the base branch from dev to master October 17, 2024 14:38
Copy link
Contributor

This PR targets the master branch but does not come from dev or a hotfix/* branch.

Automatically setting the base branch to dev.

@github-actions github-actions bot changed the base branch from master to dev October 17, 2024 14:39
@aarushik93 aarushik93 merged commit 5d4d248 into dev Oct 17, 2024
5 checks passed
@aarushik93 aarushik93 deleted the reinier/enforce-base-branch branch October 17, 2024 16:15
@Pwuts
Copy link
Member Author

Pwuts commented Oct 17, 2024

This won't work until it is in master btw @Torantulino @aarushik93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end size/m
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants