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

feat: add flag --output-results #297

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

jashandeep-sohi
Copy link
Contributor

@jashandeep-sohi jashandeep-sohi commented Dec 11, 2023

This will write the execution results in a JSON format to the specified file. Other tools/scripts may find this useful to provide additional automation.

The schema looks something like:

{
  "repos": [
    {
      "owner": string,
      "repo": string,
      "error": null (if there were no errors) or string,
      "pr": null (if no pull-request was created) or {
        "number": int,
        "nodeId": string,
        "url": string,
      }
    }
    ...
  ]
}

#295

@jashandeep-sohi jashandeep-sohi requested review from vbehar and a team as code owners December 11, 2023 18:32
@jashandeep-sohi jashandeep-sohi marked this pull request as draft December 11, 2023 18:33
This will write the execution results in a JSON format to the specified file.
Other tools/scripts may find this useful to provide additional automation.

The schema looks something like:

```json
{
  "repos": [
    {
      "owner": string,
      "repo": string,
      "error": null (if there were no errors) or string,
      "pr": null (if no pull-request was created) or {
        "number": int,
        "nodeId": string,
        "url": string,
      }
    }
    ...
  ]
}
```
@jashandeep-sohi jashandeep-sohi marked this pull request as ready for review December 11, 2023 18:52
@vbehar vbehar merged commit c4e9bde into dailymotion-oss:master Dec 12, 2023
9 checks passed
@vbehar
Copy link
Collaborator

vbehar commented Dec 12, 2023

great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants