{"id":13819076,"url":"https://github.com/alphagov/whitehall","last_synced_at":"2026-04-15T10:01:55.516Z","repository":{"id":1688101,"uuid":"2416064","full_name":"alphagov/whitehall","owner":"alphagov","description":"Publishes government content on GOV.UK","archived":false,"fork":false,"pushed_at":"2026-04-02T14:48:33.000Z","size":203916,"stargazers_count":993,"open_issues_count":45,"forks_count":197,"subscribers_count":128,"default_branch":"main","last_synced_at":"2026-04-03T01:43:01.717Z","etag":null,"topics":["govuk"],"latest_commit_sha":null,"homepage":"https://docs.publishing.service.gov.uk/apps/whitehall.html","language":"Ruby","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/alphagov.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2011-09-19T15:10:49.000Z","updated_at":"2026-04-02T09:29:45.000Z","dependencies_parsed_at":"2024-02-12T09:53:18.788Z","dependency_job_id":"630b29a7-7ccc-475a-93a1-3b2c4a80c998","html_url":"https://github.com/alphagov/whitehall","commit_stats":{"total_commits":21982,"total_committers":301,"mean_commits":73.0299003322259,"dds":0.9170230188335912,"last_synced_commit":"12d9bd22e4e90240ad54950b22538474e1680e0b"},"previous_names":[],"tags_count":12996,"template":false,"template_full_name":null,"purl":"pkg:github/alphagov/whitehall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fwhitehall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fwhitehall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fwhitehall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fwhitehall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphagov","download_url":"https://codeload.github.com/alphagov/whitehall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fwhitehall/sbom","scorecard":{"id":186650,"data":{"date":"2025-08-11","repo":{"name":"github.com/alphagov/whitehall","commit":"6a7c724df0c6ec8bd34d5e2b4c7e7dfe4803fb13"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.1,"checks":[{"name":"Maintained","score":10,"reason":"30 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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"}},{"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/ci.yml:17","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:28","Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/ci.yml:29","Info: jobLevel 'actions' permission set to 'read': .github/workflows/ci.yml:30","Info: jobLevel 'contents' permission set to 'read': .github/workflows/deploy.yml:33","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/deploy.yml:34","Info: jobLevel 'contents' permission set to 'read': .github/workflows/labeler.yml:8","Warn: no topLevel permission defined: .github/workflows/actionlint.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/copy-pr-template-to-dependabot-prs.yml:8","Warn: no topLevel permission defined: .github/workflows/cucumber.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/flog.yml:1","Warn: no topLevel permission defined: .github/workflows/labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/linterb.yml:1","Warn: no topLevel permission defined: .github/workflows/lintjs.yml:1","Warn: no topLevel permission defined: .github/workflows/lintprettier.yml:1","Warn: no topLevel permission defined: .github/workflows/lintscss.yml:1","Warn: no topLevel permission defined: .github/workflows/minitest.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1"],"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":"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":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/alphagov/.github/SECURITY.md:1","Info: Found linked content: github.com/alphagov/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/alphagov/.github/SECURITY.md:1","Info: Found text in security policy: github.com/alphagov/.github/SECURITY.md:1"],"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/actionlint.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/actionlint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/actionlint.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/actionlint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/copy-pr-template-to-dependabot-prs.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/copy-pr-template-to-dependabot-prs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/copy-pr-template-to-dependabot-prs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/copy-pr-template-to-dependabot-prs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cucumber.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cucumber.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cucumber.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cucumber.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cucumber.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cucumber.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/cucumber.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cucumber.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/cucumber.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/deploy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/flog.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/flog.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/flog.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/flog.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/flog.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/flog.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/labeler.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/labeler.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linterb.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/linterb.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linterb.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/linterb.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lintjs.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/lintjs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lintjs.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/lintjs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lintprettier.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/lintprettier.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lintprettier.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/lintprettier.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lintscss.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/lintscss.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lintscss.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/lintscss.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/minitest.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/minitest.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/minitest.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/minitest.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/minitest.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/minitest.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/minitest.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/minitest.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/alphagov/whitehall/release.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:6","Warn: containerImage not pinned by hash: Dockerfile:20","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  24 third-party GitHubAction dependencies pinned","Info:   0 out of   2 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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T19:55:11.382Z","repository_id":1688101,"created_at":"2025-08-16T19:55:11.382Z","updated_at":"2025-08-16T19:55:11.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31549900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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":["govuk"],"created_at":"2024-08-04T08:00:39.386Z","updated_at":"2026-04-08T10:01:31.574Z","avatar_url":"https://github.com/alphagov.png","language":"Ruby","readme":"# Whitehall\n\nWhitehall (also known as 'Whitehall Admin' or 'Whitehall Publisher') is used by publishers to create and manage content (e.g. \u003chttp://whitehall-admin.dev.gov.uk/government/admin/news/new\u003e).\n\n## Running the Application\n\n**Use [GOV.UK Docker](https://github.com/alphagov/govuk-docker) to run any commands that follow.**\n\n## Technical documentation\n\nThis is a Ruby on Rails app, and should follow [our Rails app conventions](https://docs.publishing.service.gov.uk/manual/conventions-for-rails-applications.html).\n\nYou can use the [GOV.UK Docker environment](https://github.com/alphagov/govuk-docker) to run the application and its tests with all the necessary dependencies. Follow [the usage instructions](https://github.com/alphagov/govuk-docker#usage) to get started.\n\n### Running the test suite\n\nThese commands assume you have the [GOV.UK Docker environment](https://github.com/alphagov/govuk-docker) running and its binaries in your PATH.\n\n```\n# run all the test suites\ngovuk-docker-run bundle exec rake\n```\n\nJavascript unit tests can also be run separately:\n\n```\n# run all the JavaScript tests\ngovuk-docker-run bundle exec rake jasmine\n```\n\n### Further documentation\n\nSee the [`docs/`](docs/) directory.\n\n- [Content Audit Trail](docs/auditing.md)\n- [CSS](docs/css.md)\n- [Edition model](docs/edition_model.md)\n- [Edition workflow](docs/edition_workflow.md)\n- [Internationalisation](docs/internationalisation_guide.md)\n- [JavaScript](docs/javascript.md)\n- [Timestamps](docs/timestamps.md)\n- [Troubleshooting](docs/troubleshooting.md)\n- [Adding a data migration](db/data_migration/README.md)\n\n## Licence\n\n[MIT License](LICENCE)\n","funding_links":[],"categories":["Ruby","Happy Exploring 🤘","Miscellaneous","Open Source Rails Apps","Examples"],"sub_categories":["Rails codebases to study","Articles"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fwhitehall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphagov%2Fwhitehall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fwhitehall/lists"}