@@ -82,12 +82,21 @@ async function run() {
82
82
async ( ) => {
83
83
const repoInfo = github . context . repo ;
84
84
const triggeringWorkflowRunId = guessRunId ( ) ;
85
- // core.info('TMP DEBUG context=' + JSON.stringify(github.context));
86
- // const jobsForCurrentWorkflow = await getWorkflowJobsForRunId(octokit, repoInfo.owner, repoInfo.repo, github.context.runId);
87
- // core.info('TMP DEBUG jobsForCurrentWorkflow=' + JSON.stringify(jobsForCurrentWorkflow.map(v => {v.steps = '-_-'; return v;}) ));
85
+ core . info ( 'TMP DEBUG context=' + JSON . stringify ( github . context ) ) ;
86
+ const jobsForCurrentWorkflow = await getWorkflowJobsForRunId ( octokit , repoInfo . owner , repoInfo . repo , github . context . runId ) ;
87
+ core . info ( 'TMP DEBUG jobsForCurrentWorkflow=' + JSON . stringify ( jobsForCurrentWorkflow ) ) ;
88
88
//const jobsForTriggeringWorkflow = await getWorkflowJobsForRunId(octokit, repoInfo.owner, repoInfo.repo, triggeringWorkflowRunId);
89
- //core.info('TMP DEBUG jobsForTriggeringWorkflow=' + JSON.stringify(jobsForTriggeringWorkflow.map(v => {v.steps = '-_-'; return v;})));
90
- //core.info('TMP DEBUG job name=' + process.env.GITHUB_JOB);
89
+ //core.info('TMP DEBUG jobsForTriggeringWorkflow=' + JSON.stringify(jobsForTriggeringWorkflow));
90
+ core . info ( 'TMP DEBUG GITHUB_ACTION=' + process . env . GITHUB_ACTION ) ;
91
+ core . info ( 'TMP DEBUG GITHUB_ACTION_PATH=' + process . env . GITHUB_ACTION_PATH ) ;
92
+ core . info ( 'TMP DEBUG GITHUB_ACTION_REPOSITORY=' + process . env . GITHUB_ACTION_REPOSITORY ) ;
93
+ core . info ( 'TMP DEBUG GITHUB_JOB=' + process . env . GITHUB_JOB ) ;
94
+ core . info ( 'TMP DEBUG GITHUB_RUN_ATTEMPT=' + process . env . GITHUB_RUN_ATTEMPT ) ;
95
+ core . info ( 'TMP DEBUG GITHUB_WORKFLOW=' + process . env . GITHUB_WORKFLOW ) ;
96
+ core . info ( 'TMP DEBUG GITHUB_WORKFLOW_REF=' + process . env . GITHUB_WORKFLOW_REF ) ;
97
+ core . info ( 'TMP DEBUG RUNNER_ARCH=' + process . env . RUNNER_ARCH ) ;
98
+ core . info ( 'TMP DEBUG RUNNER_NAME=' + process . env . RUNNER_NAME ) ;
99
+ core . info ( 'TMP DEBUG RUNNER_OS=' + process . env . RUNNER_OS ) ;
91
100
const commitSha = guessCommitSha ( ) ;
92
101
const startedAt = ( new Date ( ) ) . toISOString ( ) ;
93
102
const prNumber = guessPrNumber ( ) ;
0 commit comments