diff --git a/app.cjs b/app.cjs index 40c64f8..9dbf7a5 100644 --- a/app.cjs +++ b/app.cjs @@ -344,7 +344,12 @@ module.exports = (app) => { // must contain a release_tag as input (can be a branch name) app.on("workflow_dispatch", async (context) => { - context.log.info('context:', context); + const { repository, workflow, inputs, sender } = context.payload; + + context.log.info(`Workflow dispatch event for repository: ${repository.name}`); + context.log.info(`Workflow name: ${workflow}`); + context.log.info(`Inputs: ${JSON.stringify(inputs)}`); + context.log.info(`Triggered by: ${sender.login}`); }); diff --git a/dist/index.cjs b/dist/index.cjs index 92ca05e..f48bdb6 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -117310,6 +117310,13 @@ module.exports = (app) => { context.log.info('context:', context); + const { repository, workflow, inputs, sender } = context.payload; + + context.log.info(`Workflow dispatch event for repository: ${repository.name}`); + context.log.info(`Workflow name: ${workflow}`); + context.log.info(`Inputs: ${JSON.stringify(inputs)}`); + context.log.info(`Triggered by: ${sender.login}`); + });