{"id":24881748,"url":"https://github.com/dungpham91/lint-json-inside-yaml","last_synced_at":"2026-04-17T01:31:49.932Z","repository":{"id":212261436,"uuid":"694592444","full_name":"dungpham91/lint-json-inside-yaml","owner":"dungpham91","description":"Github Actions detect and validate JSON data inside YAML files.","archived":false,"fork":false,"pushed_at":"2026-02-09T04:34:34.000Z","size":697,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-09T10:48:02.982Z","etag":null,"topics":["github-actions","json","jsonlint","lint","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dungpham91.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-21T09:59:18.000Z","updated_at":"2026-02-09T04:34:36.000Z","dependencies_parsed_at":"2023-12-13T10:51:35.368Z","dependency_job_id":"ca78410a-4265-4c66-b1ae-5dab878a3985","html_url":"https://github.com/dungpham91/lint-json-inside-yaml","commit_stats":null,"previous_names":["dungpham91/lint-json-inside-yaml"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dungpham91/lint-json-inside-yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungpham91%2Flint-json-inside-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungpham91%2Flint-json-inside-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungpham91%2Flint-json-inside-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungpham91%2Flint-json-inside-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dungpham91","download_url":"https://codeload.github.com/dungpham91/lint-json-inside-yaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dungpham91%2Flint-json-inside-yaml/sbom","scorecard":{"id":343442,"data":{"date":"2025-08-18T04:52:13Z","repo":{"name":"github.com/dungpham91/lint-json-inside-yaml","commit":"6a749a8ca5d98cafb9c09d682e2d1dc3d8881a2c"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7.7,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 30 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-action.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/dungpham91/lint-json-inside-yaml/test-action.yml/main?enable=pin","Info:  18 out of  18 GitHub-owned GitHubAction dependencies pinned","Info:   7 out of   8 third-party GitHubAction dependencies pinned","Info:   1 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:26","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:27","Info: jobLevel 'actions' permission set to 'read': .github/workflows/devskim.yml:25","Info: jobLevel 'contents' permission set to 'read': .github/workflows/devskim.yml:26","Info: jobLevel 'actions' permission set to 'read': .github/workflows/hadolint.yml:26","Info: jobLevel 'contents' permission set to 'read': .github/workflows/hadolint.yml:27","Info: jobLevel 'actions' permission set to 'read': .github/workflows/trivy.yml:26","Info: jobLevel 'contents' permission set to 'read': .github/workflows/trivy.yml:27","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/update-changelog.yml:12","Info: topLevel 'contents' permission set to 'read': .github/workflows/auto-approve.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/devskim.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/docker-build.yml:13","Info: topLevel 'contents' permission set to 'read': .github/workflows/hadolint.yml:18","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:15","Warn: no topLevel permission defined: .github/workflows/test-action.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/trivy.yml:18","Warn: no topLevel permission defined: .github/workflows/update-changelog.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker-build.yml:16"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"30 out of 30 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-18T06:31:38.865Z","repository_id":212261436,"created_at":"2025-08-18T06:31:38.865Z","updated_at":"2025-08-18T06:31:38.865Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","json","jsonlint","lint","yaml"],"created_at":"2025-02-01T12:13:25.481Z","updated_at":"2026-04-17T01:31:49.910Z","avatar_url":"https://github.com/dungpham91.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Actions lint-json-inside-yaml\n\nThis action detects and validates JSON data inside YAML files.\n\n## Usages\n\nSimple as:\n\n```yaml\nuses: dungpham91/lint-json-inside-yaml@v0.0.2\n```\n\n### Optional input parameters\n\n- `folder_or_file` - enter file/folder (space separated), wildcards accepted. Examples:\n  - `.` - checks for JSON in all files of the current folder, including recursive subfolders\n  - `file1.yaml` - check JSON for a single file\n  - `file1.yaml file2.yaml` - check JSON for 2 or more files\n  - `folder1 folder2` - check JSON for 2 or more folders\n  - `folder1 file1.yaml` - check JSON for both file and folder at the same time\n  - `folder1/*.yaml folder2/*values.yaml` - check JSON for files in folder using wildcards\n\n### Example usage in workflow\n\n```yaml\n---\nname: JSON Lint\n\non: [push]\n\njobs:\n  json-lint:\n    runs-on: ubuntu-latest\n    steps:\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: JSON lint\n        uses: dungpham91/lint-json-inside-yaml@v0.0.2\n        with:\n          folder_or_file: ./test-data\n```\n\nUse in conjunction with the action to detect file changes\n\n```yaml\nname: JSON Lint\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  json-lint:\n    runs-on: ubuntu-latest\n    steps:\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v39\n        with:\n          files: |\n            test-data/**\n\n      - name: JSON lint\n        uses: dungpham91/lint-json-inside-yaml@v0.0.2\n        with:\n          folder_or_file: ${{ steps.changed-files.outputs.all_changed_files }}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdungpham91%2Flint-json-inside-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdungpham91%2Flint-json-inside-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdungpham91%2Flint-json-inside-yaml/lists"}