Build/Test Tools: Coerce the run_id input to a string before passing it to the "Failed Workflow" workflow.

Follow-up to [59679].

See #62221


git-svn-id: https://develop.svn.wordpress.org/trunk@59687 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2025-01-22 19:24:48 +00:00
parent 82de1691e4
commit 90b3a49b83
13 changed files with 14 additions and 14 deletions

View File

@ -107,6 +107,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -93,6 +93,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -179,6 +179,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -97,6 +97,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -150,6 +150,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -93,6 +93,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -94,6 +94,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -263,6 +263,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: context.runId,
run_id: `${context.runId}`,
}
});

View File

@ -68,7 +68,7 @@ jobs:
const workflow_run = await github.rest.actions.getWorkflowRun({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.runId,
run_id: `${context.runId}`,
});
if ( process.env.CALLING_STATUS == 'failure' && workflow_run.data.run_attempt == 1 ) {
@ -82,7 +82,7 @@ jobs:
const previous_run = await github.rest.actions.getWorkflowRunAttempt({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.runId,
run_id: `${context.runId}`,
attempt_number: workflow_run.data.run_attempt - 1
});

View File

@ -246,6 +246,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
run_id: `${context.runId}`,
}
});

View File

@ -160,6 +160,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
run_id: `${context.runId}`,
}
});

View File

@ -110,6 +110,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
run_id: `${context.runId}`,
}
});

View File

@ -312,6 +312,6 @@ jobs:
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
run_id: `${context.runId}`,
}
});