{"id":3401,"url":"https://github.com/nicklockwood/SwiftFormat","last_synced_at":"2026-04-17T06:20:53.441Z","repository":{"id":37334911,"uuid":"66302557","full_name":"nicklockwood/SwiftFormat","owner":"nicklockwood","description":"A command-line tool and Xcode Extension for formatting Swift code","archived":false,"fork":false,"pushed_at":"2025-10-03T08:02:39.000Z","size":463729,"stargazers_count":8538,"open_issues_count":319,"forks_count":660,"subscribers_count":77,"default_branch":"main","last_synced_at":"2025-10-03T09:06:02.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/nicklockwood.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-08-22T19:39:05.000Z","updated_at":"2025-10-03T06:05:56.000Z","dependencies_parsed_at":"2023-10-15T08:09:18.635Z","dependency_job_id":"f5ba61b9-f6cd-4d0e-adfe-9c70e604e50f","html_url":"https://github.com/nicklockwood/SwiftFormat","commit_stats":{"total_commits":2354,"total_committers":152,"mean_commits":"15.486842105263158","dds":"0.20773152081563295","last_synced_commit":"4e92b81311f528cfdca8015d629c650d0aff94ce"},"previous_names":[],"tags_count":327,"template":false,"template_full_name":null,"purl":"pkg:github/nicklockwood/SwiftFormat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FSwiftFormat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FSwiftFormat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FSwiftFormat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FSwiftFormat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklockwood","download_url":"https://codeload.github.com/nicklockwood/SwiftFormat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklockwood%2FSwiftFormat/sbom","scorecard":{"id":685248,"data":{"date":"2025-08-11","repo":{"name":"github.com/nicklockwood/SwiftFormat","commit":"b83a8f132ff5430f3b6ff7d912baa407caea9e29"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 24 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/docker.yml:15","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/docker.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/validate_pr.yml:1","Warn: no topLevel permission defined: .github/workflows/windows_release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: CommandLineTool/swiftformat:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.57.2 not signed: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/232377171","Warn: release artifact 0.57.1 not signed: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/232234146","Warn: release artifact 0.57.0 not signed: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/232070142","Warn: release artifact 0.56.4 not signed: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/225407829","Warn: release artifact 0.56.3 not signed: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/223240655","Warn: release artifact 0.57.2 does not have provenance: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/232377171","Warn: release artifact 0.57.1 does not have provenance: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/232234146","Warn: release artifact 0.57.0 does not have provenance: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/232070142","Warn: release artifact 0.56.4 does not have provenance: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/225407829","Warn: release artifact 0.56.3 does not have provenance: https://api.github.com/repos/nicklockwood/SwiftFormat/releases/223240655"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:137: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:141: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:156: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:160: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/docker.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/windows_release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_release.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/windows_release.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_release.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_release.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_release.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_release.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/windows_release.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/nicklockwood/SwiftFormat/windows_release.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:4","Info:   0 out of  20 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  17 third-party GitHubAction dependencies pinned","Info:   0 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker.yml:12"],"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}}]},"last_synced_at":"2025-08-22T00:35:29.511Z","repository_id":37334911,"created_at":"2025-08-22T00:35:29.511Z","updated_at":"2025-08-22T00:35:29.511Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278136719,"owners_count":25935972,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-01-11T16:46:01.098Z","updated_at":"2025-10-09T06:22:24.936Z","avatar_url":"https://github.com/nicklockwood.png","language":"Swift","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/3401","html_url":"https://opencollective.ecosyste.ms/projects/3401","collective":{"id":1343,"uuid":"ov349mrw-gz75lpyy-agrpa08d-jeybknox","slug":"swiftformat","name":"SwiftFormat","description":"A command-line tool and Xcode Extension for formatting Swift code","website":"","github":"nicklockwood/SwiftFormat","twitter":"nicklockwood","repository_url":null,"social_links":[{"type":"TWITTER","url":"https://twitter.com/nicklockwood"},{"type":"GITHUB","url":"https://github.com/nicklockwood/SwiftFormat"}],"currency":"USD","projects_count":1,"last_synced_at":"2026-04-16T00:15:36.160Z","created_at":"2024-01-10T13:17:50.069Z","updated_at":"2026-04-16T00:15:36.437Z","transactions_count":84,"balance":2026.4099999999978,"account_type":"COLLECTIVE","owner":{"login":"nicklockwood","name":"Nick Lockwood","uuid":"546885","kind":"user","description":"","email":"","website":"http://charcoaldesign.co.uk","location":"London","twitter":null,"company":"Charcoal Design","icon_url":"https://avatars.githubusercontent.com/u/546885?u=27afc21005007e7361c8cf9d88f06c73bbc0cb64\u0026v=4","repositories_count":97,"last_synced_at":"2024-12-06T20:59:33.972Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nicklockwood","funding_links":[],"total_stars":63255,"followers":6247,"following":2,"created_at":"2022-11-02T23:58:09.041Z","updated_at":"2024-12-06T20:59:33.972Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklockwood","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklockwood/repositories"},"last_project_activity_at":"2025-10-03T08:02:39.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2021-02-22T19:20:07.917Z","collective_updated_at":"2023-02-07T17:17:26.523Z","html_url":"https://opencollective.com/swiftformat","icon_url":"https://images.opencollective.com/swiftformat/logo/40.png","total_donations":10467.779999999997,"total_expenses":-8580.130000000014,"current_balance":2026.4099999999978,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/swiftformat","url":"https://opencollective.ecosyste.ms/collectives/swiftformat","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/swiftformat/projects"}}