limit randomly generated github app name length
This commit is contained in:
parent
d031911ada
commit
0155af2116
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class Create extends Component
|
||||||
|
|
||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
$this->name = generate_random_name();
|
$this->name = substr(generate_random_name(), 0, 34); // GitHub Apps names can only be 34 characters long
|
||||||
}
|
}
|
||||||
|
|
||||||
public function createGitHubApp()
|
public function createGitHubApp()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue