File tree Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Expand file tree Collapse file tree 4 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -65323,7 +65323,7 @@ runAction(async () => {
65323
65323
repository: getInput('repository'),
65324
65324
repositories: union([
65325
65325
array(schemas_string()),
65326
- literal('ALL'),
65326
+ schemas_string().toUpperCase().pipe( literal('ALL') ),
65327
65327
])
65328
65328
.default(() => [])
65329
65329
.parse(getYamlInput('repositories')),
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ runAction(async () => {
19
19
repository : getInput ( 'repository' ) ,
20
20
repositories : z . union ( [
21
21
z . array ( z . string ( ) ) ,
22
- z . literal ( 'ALL' ) ,
22
+ z . string ( ) . toUpperCase ( ) . pipe ( z . literal ( 'ALL' ) ) ,
23
23
] )
24
24
. default ( ( ) => [ ] )
25
25
. parse ( getYamlInput ( 'repositories' ) ) ,
Original file line number Diff line number Diff line change @@ -60,10 +60,8 @@ export function appInit(prepare?: (app: Hono) => void) {
60
60
workflow_run_url : buildWorkflowRunUrl ( callerIdentity ) ,
61
61
} , 'Caller Identity' ) ;
62
62
63
- // console.log("###### X ", JSON.stringify(AccessTokenRequestBodySchema));
64
63
const accessTokenRequest = await parseJsonBody ( context . req , AccessTokenRequestBodySchema )
65
64
. then ( async ( it ) => normalizeAccessTokenRequestBody ( it , callerIdentity ) ) ;
66
- console . log ( `###### B ${ context . get ( 'requestId' ) } ` , accessTokenRequest )
67
65
logger . info ( {
68
66
request : accessTokenRequest
69
67
} , 'Access Token Request' ) ;
Original file line number Diff line number Diff line change @@ -80,9 +80,7 @@ export function debugLogger(logger: Logger) {
80
80
*/
81
81
export async function parseJsonBody < T extends ZodType > ( req : HonoRequest , schema : T ) {
82
82
const body = await req . text ( ) ;
83
- console . log ( "###### body" , body ) ;
84
83
const bodyParseResult = JsonTransformer . pipe ( schema ) . safeParse ( body ) ;
85
- console . log ( "###### bodyParseResult" , bodyParseResult ) ;
86
84
87
85
if ( ! bodyParseResult . success ) {
88
86
throw new HTTPException ( Status . BAD_REQUEST , {
You can’t perform that action at this time.
0 commit comments