Files
atlantis/server
Dalton Hubble 00a5bc0fc0 Add a branch regex matcher to the server side repo config (#1383)
* 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.
2021-02-24 12:52:30 -08:00
..
2020-05-25 11:58:50 -07:00
2020-05-25 11:58:50 -07:00
2020-06-25 13:41:10 -07:00
2018-11-21 11:33:31 -06:00
2018-11-21 11:33:31 -06:00
2020-05-25 15:03:08 -07:00
2020-06-25 13:41:10 -07:00