mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[workflows] Update actions/github-script action to v5 (#1222)
* [workflows] Update actions/github-script action to v5 Co-authored-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
parent
9b183fd674
commit
0549695536
@ -65,14 +65,14 @@ jobs:
|
||||
sourceRunId: ${{ github.event.workflow_run.id }}
|
||||
|
||||
- name: "Get workflow job status"
|
||||
uses: actions/github-script@v4
|
||||
uses: actions/github-script@v5
|
||||
id: get-workflow-jobs
|
||||
with:
|
||||
github-token: ${{ steps.get-app-token.outputs.token }}
|
||||
script: |
|
||||
let result = new Object
|
||||
|
||||
const wfJobs = await github.actions.listJobsForWorkflowRun({
|
||||
const wfJobs = await github.rest.actions.listJobsForWorkflowRun({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
run_id: context.payload.workflow_run.id,
|
||||
|
Loading…
Reference in New Issue
Block a user