Skip to content

Commit

Permalink
Merge pull request #16 from nigeljamesstevenson/update/cherry-pick-on…
Browse files Browse the repository at this point in the history
…ly-works-on-trunk

log outputs for debugging
  • Loading branch information
nigeljamesstevenson authored May 9, 2024
2 parents 5dabc87 + a9bd8fb commit 586f68c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,32 @@ jobs:
const isBot = context.payload.pull_request && ( context.payload.pull_request.user.login == 'github-actions[bot]' || context.payload.pull_request.user.type == 'Bot' );
console.log("isManualTrigger:");
console.log("context.payload.inputs:",context.payload.inputs);
console.log("context.payload.inputs.release_branch:",context.payload.inputs.release_branch);
console.log("isMergedMilestonedIssue:");
console.log("context.payload.issue:",context.payload.issue);
console.log("context.payload.issue.pull_request:",context.payload.issue.pull_request);
console.log("context.payload.issue.pull_request.merged_at:",context.payload.issue.pull_request.merged_at);
console.log("context.payload.issue.milestone:",context.payload.issue.milestone);
console.log("context.payload.pull_request.base:",context.payload.pull_request.base);
console.log("context.payload.issue.pull_request.base.ref:",context.payload.issue.pull_request.base.ref);
console.log("isMergedMilestonedPR:",isMergedMilestonedPR);
console.log("context.payload.pull_request:",context.payload.pull_request);
console.log("context.payload.pull_request.merged:",context.payload.pull_request.merged);
console.log("context.payload.pull_request.milestone:",context.payload.pull_request.milestone);
console.log("context.payload.pull_request.base:",context.payload.pull_request.base);
console.log("context.payload.issue.pull_request.base.ref:",context.payload.issue.pull_request.base.ref);
console.log("isBot:",isBot);
console.log("context.payload.pull_request:",context.payload.pull_request);
console.log("context.payload.pull_request.user.login:",context.payload.pull_request.user.login);
console.log("context.payload.pull_request.user.type:",context.payload.pull_request.user.type);
console.log("isManualTrigger:",isManualTrigger);
console.log("isMergedMilestonedIssue:",isMergedMilestonedIssue);
console.log("isMergedMilestonedPR:",isMergedMilestonedPR);
Expand Down

0 comments on commit 586f68c

Please sign in to comment.