Skip to content

Commit

Permalink
Merge pull request #15 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 d4dfd20 + 09c977d commit 5dabc87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,19 @@ 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:",isManualTrigger);
console.log("isMergedMilestonedIssue:",isMergedMilestonedIssue);
console.log("isMergedMilestonedPR:",isMergedMilestonedPR);
console.log("isBot:",isBot);
if ( !isBot && ( isManualTrigger || isMergedMilestonedIssue || isMergedMilestonedPR ) ) {
console.log("Setting 'run' to true");
core.setOutput( 'run', 'true' );
} else {
console.log("Setting 'run' to false");
core.setOutput( 'run', 'false' );
}
prep:
name: Prep inputs
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 5dabc87

Please sign in to comment.