{"id":15705719,"url":"https://github.com/logerfo/newline-action","last_synced_at":"2025-04-19T12:14:26.221Z","repository":{"id":36701208,"uuid":"217303272","full_name":"Logerfo/newline-action","owner":"Logerfo","description":"A GitHub Action that automatically fixes files without a new line at the end in pull requests.","archived":false,"fork":false,"pushed_at":"2025-03-21T22:22:06.000Z","size":4924,"stargazers_count":5,"open_issues_count":12,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T23:25:18.500Z","etag":null,"topics":["actions","newline"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Logerfo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"Logerfo","open_collective":"bruno-logerfo","custom":"https://camo.githubusercontent.com/aba80efa983cc0dd45f2dbb4ecfdfd0f1ebe5b96/68747470733a2f2f692e696d6775722e636f6d2f6e646c427475582e706e67"}},"created_at":"2019-10-24T13:15:25.000Z","updated_at":"2024-09-13T21:08:20.000Z","dependencies_parsed_at":"2023-02-18T14:31:26.592Z","dependency_job_id":"245cc223-3355-44dc-8b03-01120ff8c2be","html_url":"https://github.com/Logerfo/newline-action","commit_stats":{"total_commits":80,"total_committers":4,"mean_commits":20.0,"dds":0.4125,"last_synced_commit":"0b3ddaa559bdb6d8ae078998f5882dd5a8046341"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fnewline-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fnewline-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fnewline-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fnewline-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Logerfo","download_url":"https://codeload.github.com/Logerfo/newline-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156025,"owners_count":20732357,"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":["actions","newline"],"created_at":"2024-10-03T20:19:25.478Z","updated_at":"2025-03-30T21:31:51.064Z","avatar_url":"https://github.com/Logerfo.png","language":"JavaScript","funding_links":["https://github.com/sponsors/Logerfo","https://opencollective.com/bruno-logerfo","https://camo.githubusercontent.com/aba80efa983cc0dd45f2dbb4ecfdfd0f1ebe5b96/68747470733a2f2f692e696d6775722e636f6d2f6e646c427475582e706e67"],"categories":[],"sub_categories":[],"readme":"[![Dependencies Status](https://david-dm.org/logerfo/newline-action/dev-status.svg)](https://david-dm.org/logerfo/newline-action?type=dev)\n\n# Newline Action\nThis action will automatically fix files without a final new line in pull requests.  \nOnly works for UTF-8 files.\n\n## Setting up\nCreate a file named `.github/workflows/newline.yml`.\n\n### Minimal configuration\n```yml\nname: Final new line\non:\n  pull_request:\n    types: [synchronize, opened]\njobs:\n  build:\n    name: New line\n    runs-on: ubuntu-16.04\n    steps:\n      - uses: actions/checkout@master\n      - uses: Logerfo/newline-action@0.0.4\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }} # The `GITHUB_TOKEN` secret.\n```\n\n### Complete configuration\nAll values are default.\n```yml\nname: Final new line\non:\n  pull_request:\n    types: [synchronize, opened]\njobs:\n  build:\n    name: New line\n    runs-on: ubuntu-16.04\n    steps:\n      - uses: actions/checkout@master\n      - uses: Logerfo/newline-action@0.0.4\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }} # The `GITHUB_TOKEN` secret.\n          config-path: .github/newline.yml # The path of the addtional configurations file.\n```\n\n### Additional configurations file\nYou can optionally create a additional configuration file. The default path is `.github/newline.yml`, but you can change it in the action configuration file, as shown above.  \nAll values are default.\n```yml\nautoCommit: true # If false, the bot will still comment in the pull request, so you can known which files are wrong and fix them yourself.\nignorePaths: [\"bin/**\", \"node_modules/**\", \"out/**\"] # Globs to be ignored\n```\n\n### Auto update\nYou can use (at your own risk) the `release` branch instead of the specific version tag.  \nNever user `master`, since the distribution file does not exist in this branch and the action will always fail.\n\n## Changelog\nClick [here](CHANGELOG.md).\n\n## Contributing\nIf you have suggestions for how close-label could be improved, or want to report a bug, open an issue! We'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n## Donate\n\n\u003cimg src=\"https://i.imgur.com/ndlBtuX.png\" width=\"200\"\u003e\n\nBTC: 1LoGErFoNzE1gCA5fzk6A82nV6iJdKssSZ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogerfo%2Fnewline-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogerfo%2Fnewline-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogerfo%2Fnewline-action/lists"}