Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

BoringExperiments/crowdin-nested-json-postprocessor

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

GitHub Action > Nested JSON Postprocessor

Remove null or empty keys, list and array from JSON files.

> Postprocessor // Usage

Before you start, make sure that you have setup the supported version of Python in your workflow:

Python version Support status
Upcoming ⚙️ Best effort
3.12 ✅ Supported
3.11 ✅ Supported
3.10 ✅ Supported
3.9 ✅ Supported
3.8 ⚙️ Best effort
3.7 ⚙️ Best effort
=<3.6 ❌ Not Supported
- name: Set up Python 3.12
  uses: actions/setup-python@v5
  with:
    python-version: 3.12
Input Required Description
token ✅ Yes GitHub's Personal Access Token
source_dir ✅ Yes Input directory
destination_dir ❌ No (default to source_dir) Output directory
signing_key ❌ No Signing key
commit_message ❌ No (default to JSON Cleanup) Commit message
- name: Nested JSON Postprocessor
  uses: validcube/[email protected]
  with:
    token: ${{ secrets.GITHUB_TOKEN }} # required, GitHub's Personal Access Token
    source_dir: "path/to/your/source/directory" # required, your input directory
    destination_dir: "path/to/your/destination/directory" # optional, default to source_dir
    signing_key: "your-signing-key" # optional, will skip signing if not provided
    commit_message: "your-custom-commit-message" # optional, default to "JSON Cleanup"

> Postprocessor // Contributing

Consider checking out the CONTRIBUTING.md page.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages