Skip to content

Commit

Permalink
Merge pull request #3821 from loudar/next
Browse files Browse the repository at this point in the history
Limit randomly generated GitHub app name length
  • Loading branch information
peaklabs-dev authored Oct 14, 2024
2 parents 2f84664 + 0155af2 commit cb91b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Livewire/Source/Github/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Create extends Component

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()
Expand Down

0 comments on commit cb91b47

Please sign in to comment.