mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +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 }}
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
||||||
|
|
||||||
- name: "Get workflow job status"
|
- name: "Get workflow job status"
|
||||||
uses: actions/github-script@v4
|
uses: actions/github-script@v5
|
||||||
id: get-workflow-jobs
|
id: get-workflow-jobs
|
||||||
with:
|
with:
|
||||||
github-token: ${{ steps.get-app-token.outputs.token }}
|
github-token: ${{ steps.get-app-token.outputs.token }}
|
||||||
script: |
|
script: |
|
||||||
let result = new Object
|
let result = new Object
|
||||||
|
|
||||||
const wfJobs = await github.actions.listJobsForWorkflowRun({
|
const wfJobs = await github.rest.actions.listJobsForWorkflowRun({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
run_id: context.payload.workflow_run.id,
|
run_id: context.payload.workflow_run.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user