Update @actions/github to 5.0.1 (#707)

* Update github package

* Update dist

* Use @actions/github@5.0.1

* Cleanup

* More cleanup
This commit is contained in:
Luke Tomlinson
2022-03-31 15:38:16 -04:00
committed by GitHub
parent 74dfff0835
commit a88f7b30b9
14 changed files with 3214 additions and 926 deletions

View File

@@ -9,6 +9,6 @@ import {CleanLabel} from '../types/clean-label';
*
* @return {string} A lowercased, deburred version of the passed in label
*/
export function cleanLabel(label: Readonly<string>): CleanLabel {
return deburr(label.toLowerCase());
export function cleanLabel(label?: Readonly<string>): CleanLabel {
return deburr(label?.toLowerCase());
}