Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add table output for ghactions list subcommand #60

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

kranurag7
Copy link
Contributor

@kranurag7 kranurag7 commented Dec 22, 2023

This patch adds a table view for ghactions list subcommand.

$ ./bin/frizbee ghactions ls 
+----------------+-----------------------+------------------------------------------------------------------------------------+------------------------------------------+
|     OWNER      |         REPO          |                                       ACTION                                       |                   REF                    |
+----------------+-----------------------+------------------------------------------------------------------------------------+------------------------------------------+
| actions        | upload-artifact       | actions/upload-artifact                                                            | c7d193f32edcb7bfad88892161225aeda64e9392 |
| actions        | download-artifact     | actions/download-artifact                                                          | f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 |
| github         | codeql-action         | github/codeql-action/analyze                                                       | 6fcbee77eeb7314eb10f949471de9856865a5f9b |
| golangci       | golangci-lint-action  | golangci/golangci-lint-action                                                      | 3a919529898de77ec3da873e3063ca4b10e7f5cc |
| slsa-framework | slsa-github-generator | slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml | v1.9.0                                   |
| anchore        | sbom-action           | anchore/sbom-action/download-syft                                                  | 5ecf649a417b8ae17dc8383dc32d46c03f2312df |
| slsa-framework | slsa-verifier         | slsa-framework/slsa-verifier/actions/installer                                     | 7e1e47d7d793930ab0082c15c2b971fdb53a3c95 |
| actions        | setup-go              | actions/setup-go                                                                   | 0c52d547c9bc32b1aa3301fd7a9cb496313a4491 |
| arduino        | setup-task            | arduino/setup-task                                                                 | e26d8975574116b0097a1161e0fe16ba75d84c1c |
| goreleaser     | goreleaser-action     | goreleaser/goreleaser-action                                                       | 7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 |
| github         | codeql-action         | github/codeql-action/init                                                          | 6fcbee77eeb7314eb10f949471de9856865a5f9b |
| actions        | checkout              | actions/checkout                                                                   | b4ffde65f46336ab88eb53be808477a3936bae11 |
| github         | codeql-action         | github/codeql-action/autobuild                                                     | 6fcbee77eeb7314eb10f949471de9856865a5f9b |
| sigstore       | cosign-installer      | sigstore/cosign-installer                                                          | 9614fae9e5c5eddabb09f90a270fcb487c9f7149 |
+----------------+-----------------------+------------------------------------------------------------------------------------+------------------------------------------+

Fixes #59

Signed-off-by: Anurag <81210977+kranurag7@users.noreply.github.com>
Copy link
Contributor

@JAORMX JAORMX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really nice!

@JAORMX JAORMX merged commit 2f8ac56 into stacklok:main Dec 26, 2023
7 checks passed
@kranurag7 kranurag7 deleted the kr/add-table-view branch December 26, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a table view for listing actions locally
2 participants