Skip to content

Comments

Hide stdout in GitHub Action#1482

Merged
DHardy-WMF merged 2 commits intomasterfrom
dhardy/T404882
Sep 29, 2025
Merged

Hide stdout in GitHub Action#1482
DHardy-WMF merged 2 commits intomasterfrom
dhardy/T404882

Conversation

@DHardy-WMF
Copy link
Contributor

Description

This is a follow-up patch for #1481. The JSON output kinda spams the logs, especially dealing with a relatively large JSON file like language-data.json.

Rationale

We don't need it anyways, only stderr is necessary for this CI step.

Phabricator Ticket

https://phabricator.wikimedia.org/T404882

How Has This Been Tested?

Forked branch

Screenshots of your changes (if appropriate):

Types of changes

What types of changes does your code introduce? Add an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Minor change (fix a typo, add a translation tag, add section to README, etc.)

This is a follow-up patch for T404882. A new step was added to prevent
invalid JSON syntax in pull requests, which is determined by a non-zero
exit code returned from the jq command.
@DHardy-WMF DHardy-WMF merged commit 57d0e40 into master Sep 29, 2025
4 checks passed
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.

1 participant