Skip to content
/ gorepotemplate Public template

A template for starting a new Go project with CI and other standard configuration used at Let's Encrypt/ISRG.

License

Notifications You must be signed in to change notification settings

letsencrypt/gorepotemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorepotemplate

This repository serves as a template for other small go projects started by the Let's Encrypt team. You should replace this title and description with one appropriate to your project.

Usage

This section should describe how to use your project. Here's how to use this template repo:

  1. Navigate to https://github.com/letsencrypt/gorepotemplate
  2. Click "Use this template" and select "Create a new repository"
  3. Select "letsencrypt" as the Owner of the repo, give it a good name, and create it
  4. Set up the correct general settings:
    • Under Features, only select "Issues" and "Preserve this repository"
    • Under Pull Requests, only select "Allow squash merging", and set the commit message to "Pull request title and description"
    • Select "Automatically delete head branches"
  5. Set up the correct team access:
    • Grant both the Boulder Developers and Ops teams "write" permission
  6. Set up the correct rulesets:
    • Create a "New branch ruleset"
    • Name it "Protect main", and set the target branches to "Include default branch"
    • Restrict creation, restrict deletion, require linear history, and block force pushes
    • Require a pull request before merging, with 1 required approval, dismissing stale approvals, requiring review from Code Owners, and requiring approval of the most recent reviewable push
    • Only allow the Squash merge method
    • Require status checks to pass, and add the "test" job as a required check.
  7. Create a PR updating this README file, and you're done!
    • Optionally: also update the CODEOWNERS file to represent what team will own this code.

Contributing

This section should describe how to set up a development environment, make changes, and run tests.

About

A template for starting a new Go project with CI and other standard configuration used at Let's Encrypt/ISRG.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages