Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description
Dependency Tree Reporter check fails with the following error, after upgrading github actions/github-script to v6.3.3:
Unhandled error: TypeError: Cannot read properties of undefined (reading 'listWorkflowRunArtifacts') at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13357:12) at main (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13452:26) at Module.858 (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13429:1) at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:24:31) at startup (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:43:19) at /home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:49:18 at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:52:10) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
Due to a breaking change in actions/github-script v5, the method name should now be github.rest.actions.listWorkflowRunArtifacts instead of
github.actions.listWorkflowRunArtifacts, and
github.rest.actions.downloadArtifact instead of
github.actions.downloadArtifact
See https://github.com/actions/github-script#breaking-changes-in-v5
Attachments
Issue Links
- is caused by
-
WFLY-17433 Bump actions/github-script from 3.1.0 to 6.3.3
-
- Closed
-