We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c284164 commit a8ac9e1Copy full SHA for a8ac9e1
.github/workflows/publish-pr.yml
@@ -25,6 +25,14 @@ jobs:
25
with:
26
script: |
27
const { owner, repo } = context.repo;
28
+ const getKeys = (obj, until = Object.prototype) => {
29
+ if (!obj || obj === until) return [];
30
+ const ownKeys = Reflect.ownKeys(obj);
31
+ const protoKeys = getKeys(Object.getPrototypeOf(obj), until);
32
+ return new Set([...ownKeys, ...protoKeys]);
33
+ };
34
+ console.log('github', [...getKeys(github)]);
35
+ console.log('github.actions', [...getKeys(github.actions)]);
36
const { total_count, artifacts } = await github.actions.listWorkflowRunArtifacts({
37
owner,
38
repo,
0 commit comments