Files
atlantis/server/events
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
..
2021-02-23 17:04:35 -05:00
2019-02-06 16:27:43 -06:00
2019-02-06 16:27:43 -06:00
2021-02-23 17:04:07 -05:00
2020-05-25 15:03:08 -07:00
2020-05-25 15:09:51 -07:00
2020-10-14 17:41:37 -07:00
2020-04-28 12:51:39 -07:00