Teams should aim to make all new source code open and reusable, and publish it under appropriate licences (opens in new tab). DfE specific guidance of how to meet this standard can be found in DfE Technical Guidance (opens in new tab).

Why it's important

Public services are built with public money. Unless there's a good reason not to the code they're based on, should be made available for other people to reuse and build on.

Open source code can save teams duplicating effort and help them build better services faster. Publishing source code under an open licence means that you're less likely to get locked into working with a single supplier.

Coding in the open is a good way to encourage high quality and secure coding (opens in new tab) in development teams.

There may be times when code should not be published in the open. For example, secrets, keys or sensitive information should not be published to public repositories. DfE has guidance on managing secrets (opens in new tab) and closed code.

How to meet this standard in every phase

You'll be assessed on what you've done to meet this standard at service assessments. However, even if the service you're working on is not being assessed, it's good practice to consider how you'll meet this standard point.

Things to consider:

  • Any code being produced should be open by default (opens in new tab). If at any point the code was not publicly available, the team will be asked why, and without good reason, could fail an assessment.

How to meet this standard in a secure way

Use GitHub

The recommended tooling for meeting this standard is GitHub, as repositories in GitHub are open by default. There is a DfE organisation set up at DfE-Digital (opens in new tab) which is publicly available.

It is important not commit secrets to code. If you have some information that must be secret, for example, passwords, you can use github secrets (opens in new tab).

Join DfE-Digital to create a repository for a new service by contacting the DfE Slack channel #digital-tools-support.

Find a Tuition Partner (opens in new tab) is an example of a GitHub repo in DfE.

Profession specific guidance

Each DDaT profession in DfE has their own community and guidance.


Technical Guidance