目录

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.

关于
72.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号