{"id":22202694,"url":"https://github.com/namchee/konfigured","last_synced_at":"2025-03-25T01:47:00.920Z","repository":{"id":62744688,"uuid":"556291283","full_name":"Namchee/konfigured","owner":"Namchee","description":"Prevent malformed configuration files from being merged to your project.","archived":false,"fork":false,"pushed_at":"2023-03-07T03:45:34.000Z","size":175,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T10:14:25.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/Namchee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-10-23T14:16:08.000Z","updated_at":"2023-03-04T04:08:13.000Z","dependencies_parsed_at":"2023-07-19T01:28:44.857Z","dependency_job_id":null,"html_url":"https://github.com/Namchee/konfigured","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":"0.11111111111111116","last_synced_commit":"eb0512dd0ce7b35970864456742e77b510e65fe7"},"previous_names":["namchee/setel","namchee/atur"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fkonfigured","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fkonfigured/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fkonfigured/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fkonfigured/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Namchee","download_url":"https://codeload.github.com/Namchee/konfigured/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383119,"owners_count":20606265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-02T16:36:47.850Z","updated_at":"2025-03-25T01:47:00.893Z","avatar_url":"https://github.com/Namchee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Konfigured\n\n[![Go Version Badge](https://img.shields.io/github/go-mod/go-version/namchee/konfigured)](https://github.com/Namchee/konfigured) [![Go Report Card](https://goreportcard.com/badge/github.com/Namchee/konfigured)](https://goreportcard.com/report/github.com/Namchee/konfigured)\n\nPrevent malformed configuration files from being merged to your project. No more breaking builds caused by bad configuration files.\n\n## Usage \n\nYou can integrate Konfigured to your existing GitHub action workflow by using `Namchee/konfigured@\u003cversion\u003e` in one of your jobs using the YAML syntax.\n\nBelow is the example of integrating Konfigured to your workflow in your GitHub action workflow.\n\n```yml\non:\n  pull_request:\n\njobs:\n  cpr:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Validate configuration file\n        uses: Namchee/konfigured@v(version)\n        with:\n          token: \u003cYOUR_GITHUB_ACCESS_TOKEN_HERE\u003e\n```\n\nPlease refer to [GitHub workflow syntax](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#about-yaml-syntax-for-workflows) for more advanced usage.\n\n\u003e Access token is **required**. Please generate one or use `${{ secrets.GITHUB_TOKEN }}` as your access token and the `github-actions` bot will run the job for you.\n\n## Supported File Type\n\nBelow are the currently supported configuration files that will be validated by Konfigured:\n\n- `.ini`\n- `.json`\n- `.yaml`, `.yml`\n- `.toml`\n- `.hcl`\n\n## Inputs\n\nYou can customize this actions with these following options (fill it on `with` section):\n\n| **Name**              | **Required?** | **Default Value**                       | **Description**                                                                                                                                                                                                                                                                                                            |\n| --------------------- | ------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `token`        | `true`        |                                         | [GitHub access token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) to interact with the GitHub API. It is recommended to store this token with [GitHub Secrets](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets). **To support automatic close, labeling, and comment report, please grant a write access to the token** |\n| `newline` | `false` | `false` | Require all valid configuration file to end with newline.\n| `include` | `false` | `**/*.{json,ini,yaml,yml,toml,hcl}` | Files to be validated in [glob pattern](https://en.wikipedia.org/wiki/Glob_(programming)). If this option is omitted, the action will validate all configuration file.\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamchee%2Fkonfigured","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamchee%2Fkonfigured","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamchee%2Fkonfigured/lists"}