Commit 640564b
authored
Configure merge buttons to attempt fix to .asf.yaml (#1304)
The .asf.yaml file is failing with an obscure error message:
> An error occurred while processing the github feature in .asf.yaml:
>
> Validation failed while creating ruleset 'Branch Protection': Invalid request.
>
> Invalid property /rules/3: data matches no possible input. See `documentation_url`.
It appears this error comes from the GitHub API, and basically means that one of the rule configurations is invalid.
The ASF YAML docs say that to use require linear history, the squash option must be enabled. I assumed it was by default (because we've been using it exclusively), but this is a shot in the dark to be explicit about it. This will also disable the merge and rebase types which we discourage use of in practice.
Additionally, I'm adding the `bypass_teams` that was added automatically by Infra's bot to our other repos, the only other significant difference I could detect.
If this doesn't work, we might need to try removing the `required_` rules and see if that works. Otherwise, I'll reach out to Infra for help.1 parent ff37ad2 commit 640564b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
| |||
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| 55 | + | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| |||
0 commit comments