Skip to content

Commit a0e035e

Browse files
committed
environment: set pr_enabled flag to true in git-repo (Bug 2037246) r=zeid,shtrom
When starting Lando for the first time in a local development environment (suite, possibly standalone too), a GitHub pull request in the GitHub test-repo can not be loaded in Lando, and Lando shows an error indicating that the repo is not supported. Automatically enable pr_enabled flag on the git-repo when creating environment repos. Pull request: #1136
1 parent 9be5a84 commit a0e035e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/lando/utils/management/commands/create_environment_repos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"url": "https://github.com/mozilla-conduit/test-repo.git",
2626
"required_permission": SCM_LEVEL_1,
2727
"scm_type": GitSCM.scm_type(),
28+
"pr_enabled": True,
2829
},
2930
{
3031
"name": "test-repo-git",

0 commit comments

Comments
 (0)