Skip to content

Github "template" repository, from which to create new MoJ Repositories with organisation defaults • This repository is defined and managed in Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/template-repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ministry of Justice Template Repository

repo standards badge

This template repository equips you with the default initial files required for a Ministry of Justice GitHub repository.

Included Files

The repository comes with the following preset files:

  • LICENSE
  • .gitignore
  • CODEOWNERS
  • dependabot.yml
  • GitHub Actions example files
  • Ministry of Justice Compliance Badge (public repositories only)

Setup Instructions

Once you've created your repository using this template, ensure the following steps:

Update README

Edit this README.md file to document your project accurately. Take the time to create a clear, engaging, and informative README.md file. Include information like what your project does, how to install and run it, how to contribute, and any other pertinent details.

Update repository description

After you've created your repository, GitHub provides a brief description field that appears on the top of your repository's main page. This is a summary that gives visitors quick insight into the project. Using this field to provide a succinct overview of your repository is highly recommended.

This description and your README.md will be one of the first things people see when they visit your repository. It's a good place to make a strong, concise first impression. Remember, this is often visible in search results on GitHub and search engines, so it's also an opportunity to help people discover your project.

Grant Team Permissions

Assign permissions to the appropriate Ministry of Justice teams. Ensure at least one team is granted Admin permissions. Whenever possible, assign permissions to teams rather than individual users.

Read about the GitHub repository standards

Familiarise yourself with the Ministry of Justice GitHub Repository Standards. These standards ensure consistency, maintainability, and best practices across all our repositories.

You can find the standards here.

Please read and understand these standards thoroughly and enable them when you feel comfortable.

Modify the GitHub Standards Badge

Once you've ensured that all the GitHub Repository Standards have been applied to your repository, it's time to update the Ministry of Justice (MoJ) Compliance Badge located in the README file.

The badge demonstrates that your repository is compliant with MoJ's standards. Please follow these instructions to modify the badge URL to reflect the status of your repository correctly.

Please note the badge will not function correctly if your repository is internal or private. In this case, you may remove the badge from your README.

Manage Outside Collaborators

To add an Outside Collaborator to the repository, follow the guidelines detailed here.

Update CODEOWNERS

(Optional) Modify the CODEOWNERS file to specify the teams or users authorized to approve pull requests.

Configure Dependabot

Adapt the dependabot.yml file to match your project's dependency manager and to enable automated pull requests for package updates.

Dependency Review

If your repository is private with no GitHub Advanced Security license, remove the .github/workflows/dependency-review.yml file.

About

Github "template" repository, from which to create new MoJ Repositories with organisation defaults • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published