Skip to content

Commit

Permalink
print release_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Sep 5, 2024
1 parent ce52bce commit 1f4e271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ module.exports = (app) => {
context.log.info(`Inputs: ${JSON.stringify(inputs)}`);
context.log.info(`Triggered by: ${sender.login}`);

context.log.info('Release Tag:', inputs.release_tag);


});

Expand Down
4 changes: 2 additions & 2 deletions dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -117308,15 +117308,15 @@ 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}`);

context.log.info('Release Tag:', inputs.release_tag);


});

Expand Down

0 comments on commit 1f4e271

Please sign in to comment.