Skip to content

Commit 310e4d8

Browse files
committed
simplifying sample output
1 parent 5163545 commit 310e4d8

File tree

1 file changed

+19
-26
lines changed

1 file changed

+19
-26
lines changed

_posts/2025-08-24-github-actions-export-actions-usage.md

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,26 @@ The [`@stoe/action-reporting-cli`](https://github.com/stoe/action-reporting-cli)
7171

7272
**Sample output**:
7373

74-
> owner | repo | name | workflow | state | created_at | updated_at | last_run_at | uses
75-
> --- | --- | --- | --- | --- | --- | --- | --- | ---
76-
> joshjohanning-org | .github | | [.github/workflows/update-organization-readme-badges.yml](https://github.com/joshjohanning-org/.github/blob/HEAD/.github/workflows/update-organization-readme-badges.yml) | active | 2024-05-23T16:58:49.000Z | 2024-05-23T16:58:49.000Z | 2025-08-17T07:07:40.000Z | <ul><li>[actions/checkout](https://github.com/actions/checkout) <code>v4</code></li><li>[actions/create-github-app-token](https://github.com/actions/create-github-app-token) <code>v2</code></li><li>[joshjohanning/organization-readme-badge-generator](https://github.com/joshjohanning/organization-readme-badge-generator) <code>v1</code></li></ul>
77-
> joshjohanning-org | issueops-samples | | [.github/workflows/delete-repos-delete.yml](https://github.com/joshjohanning-org/issueops-samples/blob/HEAD/.github/workflows/delete-repos-delete.yml) | active | 2023-11-08T16:05:40.000Z | 2025-04-02T15:48:27.000Z | 2025-08-13T14:57:36.000Z | <ul><li>[actions/checkout](https://github.com/actions/checkout) <code>v5</code></li><li>[issue-ops/parser](https://github.com/issue-ops/parser) <code>76d5aa095754de1493cbe41934484c4287e16350</code></li><li>[actions/create-github-app-token](https://github.com/actions/create-github-app-token) <code>v2</code></li><li>[actions/github-script](https://github.com/actions/github-script) <code>v7</code></li><li>[joshjohanning/approveops](https://github.com/joshjohanning/approveops) <code>caad905b2ba78301a0db7f484ef6fe3c770e6985</code></li></ul>
78-
>
79-
> ```md
80-
> owner | repo | name | workflow | state | created_at | updated_at | last_run_at | uses
81-
> --- | --- | --- | --- | --- | --- | --- | --- | ---
82-
> joshjohanning-org | .github | | [.github/workflows/update-organization-readme-badges.yml](https://github.com/joshjohanning-org/.github/blob/HEAD/.github/workflows/update-organization-readme-badges.yml) | active | 2024-05-23T16:58:49.000Z | 2024-05-23T16:58:49.000Z | 2025-08-17T07:07:40.000Z | <ul><li>[actions/checkout](https://github.com/actions/checkout) <code>v4</code></li><li>[actions/create-github-app-token](https://github.com/actions/create-github-app-token) <code>v2</code></li><li>[joshjohanning/organization-readme-badge-generator](https://github.com/joshjohanning/organization-readme-badge-generator) <code>v1</code></li></ul>
83-
> joshjohanning-org | issueops-samples | | [.github/workflows/delete-repos-delete.yml](https://github.com/joshjohanning-org/issueops-samples/blob/HEAD/.github/workflows/delete-repos-delete.yml) | active | 2023-11-08T16:05:40.000Z | 2025-04-02T15:48:27.000Z | 2025-08-13T14:57:36.000Z | <ul><li>[actions/checkout](https://github.com/actions/checkout) <code>v5</code></li><li>[issue-ops/parser](https://github.com/issue-ops/parser) <code>76d5aa095754de1493cbe41934484c4287e16350</code></li><li>[actions/create-github-app-token](https://github.com/actions/create-github-app-token) <code>v2</code></li><li>[actions/github-script](https://github.com/actions/github-script) <code>v7</code></li><li>[joshjohanning/approveops](https://github.com/joshjohanning/approveops) <code>caad905b2ba78301a0db7f484ef6fe3c770e6985</code></li></ul>
74+
> ```json
75+
> [
76+
> {
77+
> "id": "W_kwDOGiGcjc4F7U1I",
78+
> "owner": "joshjohanning-org",
79+
> "repo": ".github",
80+
> "workflow": ".github/workflows/update-organization-readme-badges.yml",
81+
> "state": "active",
82+
> "created_at": "2024-05-23T16:58:49.000Z",
83+
> "updated_at": "2024-05-23T16:58:49.000Z",
84+
> "last_run_at": "2025-08-31T07:06:42.000Z",
85+
> "uses": [
86+
> "actions/checkout@v4",
87+
> "actions/create-github-app-token@v2",
88+
> "joshjohanning/organization-readme-badge-generator@v1"
89+
> ]
90+
> }
91+
> ]
8492
> ```
85-
> {: file='actions-output.md'}
93+
> {: file='actions-output.json'}
8694
8795
> *Full example output - `@stoe/action-reporting-cli`: [`json`](https://github.com/joshjohanning-org/export-actions-usage-report/blob/main/actions-output.json), [`md`](https://github.com/joshjohanning-org/export-actions-usage-report/blob/main/actions-output.md), [`csv`](https://github.com/joshjohanning-org/export-actions-usage-report/blob/main/actions-output.csv)*
8896
{: .prompt-info }
@@ -118,13 +126,6 @@ What makes this script useful:
118126

119127
**Sample Output - Count by Action:**
120128

121-
> | Count | Action |
122-
> | --- | --- |
123-
> | 121 | actions/checkout |
124-
> | 28 | actions/upload-artifact |
125-
> | 10 | github/codeql-action/upload-sarif |
126-
> | 4 | joshjohanning/approveops |
127-
>
128129
> ```markdown
129130
> | Count | Action |
130131
> | --- | --- |
@@ -140,14 +141,6 @@ What makes this script useful:
140141
141142
**Sample Output - Count by Version:**
142143
143-
> | Count | Action |
144-
> | --- | --- |
145-
> | 57 | actions/checkout@v3 |
146-
> | 54 | actions/checkout@v4 |
147-
> | 11 | actions/upload-artifact@v4 |
148-
> | 3 | github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # sha not associated to tag |
149-
> | 2 | joshjohanning/approveops@caad905b2ba78301a0db7f484ef6fe3c770e6985 # v2.0.3 |
150-
>
151144
> ```markdown
152145
> | Count | Action |
153146
> | --- | --- |

0 commit comments

Comments
 (0)