austenstone/JSON to CSV Action
Convert JSON to CSV format
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Feb 12, 2024
- License
- MIT
Pinned Snippet
uses: austenstone/json-to-csv@c699c2c54f915505e4c393291e3bad8595008964 # v1.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| json | The JSON to convert to CSV | no | — |
| json-artifact-name | The name of the JSON artifact to convert to CSV | no | — |
| options | A JSON string of options https://www.npmjs.com/package/json-2-csv#json2csvarray-options--string | no | — |
| create-artifact | Whether to create an artifact with the alerts | no | true |
| artifact-name | The name of the artifact to create | no | ${{ github.workflow }} |
Outputs
| name | description |
|---|---|
| csv | A CSV string |
| artifact-name | The name of the artifact created |