mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-30 01:08:13 +00:00
* Add a branch regex to the repo.yaml config to allow Atlantis to
accept only pull requests with a given base branch (the branch
a PR would merge _into_).
* `branch` is optional. By default its unset and Atlantis will match
webhooks for pull requests for any branch (no change)
Match any PR,
```
repos:
- id: /.*/
branch: /.*/
```
Match only PRs with master or main base branch.
```
repos:
- id: /.*/
branch: /(main|master)/
```
Some repos have special pull request branching practices. For example,
plan/apply from feature branches merging into master, but separate flows
for merging master into a release branch (where Atlantis isn't used).
Adding a regex allows for flexible workflow options. For example, you
could have Atlantis ignore "release" branches.
Atlantis Documentation
These docs are for users that are ready to get Atlantis installed and start using it.
:::tip Looking to get started? If you're new here, check out the Guide where you can try our Test Drive or Run Atlantis Locally. :::
Next Steps
- Installing Atlantis – Get Atlantis up and running
- Configuring Atlantis – Configure how Atlantis works for your specific use-cases
- Using Atlantis – How do you use Atlantis?
- How Atlantis Works – Internals of what Atlantis is doing