{"id":16315591,"url":"https://github.com/andreasabel/fix-whitespace-action","last_synced_at":"2025-05-05T20:05:50.877Z","repository":{"id":65158881,"uuid":"566470783","full_name":"andreasabel/fix-whitespace-action","owner":"andreasabel","description":"Run fix-whitespace on your repo.","archived":false,"fork":false,"pushed_at":"2024-10-10T21:16:36.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T00:38:06.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreasabel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-15T18:38:28.000Z","updated_at":"2024-10-10T21:05:38.000Z","dependencies_parsed_at":"2024-01-27T21:22:28.213Z","dependency_job_id":"874d0fae-b665-489d-b52f-283371a70169","html_url":"https://github.com/andreasabel/fix-whitespace-action","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"8fb8b557126c850da165436ce3ac6cdb6c5ff909"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasabel%2Ffix-whitespace-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasabel%2Ffix-whitespace-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasabel%2Ffix-whitespace-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasabel%2Ffix-whitespace-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasabel","download_url":"https://codeload.github.com/andreasabel/fix-whitespace-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239171812,"owners_count":19594045,"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-10-10T21:57:56.180Z","updated_at":"2025-02-16T17:56:15.715Z","avatar_url":"https://github.com/andreasabel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# fix-whitespace-action\n\nRun [`fix-whitespace`](https://github.com/agda/fix-whitespace) on your repository.\nThe `fix-whitespace` tool checks for absense of _whitespace violations_, which are tabs, trailing whitespace, and lack of newline character at the end of the file.\nFiles which should be checked are specified in the configuration file, typically `fix-whitespace.yaml` in the repository root.\n\n\nStandard use:\n```\nsteps:\n  - uses: actions/checkout@v3\n  - uses: andreasabel/fix-whitespace-action@v1\n```\nThis downloads the `fix-whitespace` binary, installs it into `~/.local/bin` and runs it with standard parameters on the repository root.\n\nExample using all parameters:\n```\nsteps:\n  - uses: actions/checkout@v3\n  - uses: andreasabel/fix-whitespace-action@v1\n    with:\n      version:    0.1\n      configfile: fix-whitespace.yaml\n      fix:        true\n      verbose:    true\n\n```\nSetting `fix: true` fixes whitespace violations in place.\nOf course, these are fixed only in the checked-out version on the runner.\nYou may be able to push these fixes pack to your repository, e.g., by opening a PR on your repository.\n\nInput `version` refers to the [version of the `fix-whitespace` program](https://github.com/agda/fix-whitespace/releases).\n\nWith input `configfile` one can specify the configuration file (defaults to `fix-whitespace.yaml`).\n\nExact position of violations can be displayed with `verbose: true`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasabel%2Ffix-whitespace-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasabel%2Ffix-whitespace-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasabel%2Ffix-whitespace-action/lists"}