Azure / Azure/azure-cli

CI should force PRs to target `dev` or `release`

Open
#22,186 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-identity-squad act-platform-engineering-squad Auto-Assign DevOps feature-request Graph Pipelines
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Some PRs didn't target `dev`, but `main`:

- #22031
- #22062
- #22138

These changes on `main` branch won't get released (we release from `dev` branch). This will also break release CI pipeline's **Merge to main** task. (Fixed by https://github.com/Azure/azure-cli/pull/22185)

CI should force PRs to target `dev` or `release` and prevent targeting `main`.

However, there are some special cases. For example, I want to merge `graph-app` to `graph` for internal collaboration PRs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.