-
Search/replace for these variables:
{{repo_owner}}- GitHub repository username{{repo_name}}- GitHub repository name{{project_name}}- Project name{{project_tagline}}- Project tagline{{security_email}}- Email to send vulnerabilities add-noreplybefore the@{{author_name}}- Your name{{docs_base_url}}- Base URL to the documentation (no trailing slash). It could be:https://<repo_owner>.github.io/<repo_name>(GitHub Pages default)https://<your_domain>(GitHub Pages with CNAME file)https://github.com/<repo_owner>/<repo_name>/blob/main(if you removed/don't want the documentation site)
{{docs_extension}}- Should behtmlif you use the documentation site, otherwisemd{{forum_url}}- URL to your forum for users to ask questions. It could be:https://github.com/<repo_owner>/<repo_name>/discussions(if you enabled the discussions feature on your repo)https://github.com/orgs/<repo_owner>/discussions(if you enabled the discussions feature at your org level)https://<your_domain>(if you maintain a separate discussion forum, or a link to your community on Slack, Discord, etc.)
For any decent-sized project, it is better to own your brand and use your own domain rather than GitHub links.
-
Remove this README.md and move docs/README.md to the root
Some GitHub Actions bundled in this template require a personal access token (PAT). This can be sourced either from an app (recommended) or from a user.
-
Create an app with the minimum permissions or add the following permissions to an existing app:
- Contents: Read and write
- Issues: Read and write
- Pull requests: Read and write
-
Set the
GH_APP_IDandGH_APP_PRIVATE_KEYrepository secrets. -
Install the app to your repository (click
Install Appon the left menu of the app page)
-
Create a personal access token with the
repopermissions. -
Set the
GH_PERSONAL_TOKENrepository secret. -
Look into each file in .github/workflows:
- Remove every step called
Generate app token - Replace
${{ steps.generate_token.outputs.token }}with${{ secrets.GH_PERSONAL_TOKEN }}
- Remove every step called
You can pick between Renovate (recommended) or Dependabot for your dependency updates.
Dependabot won't keep your pre-commit hooks up to date as opposed to Renovate.
- Install it
- Remove the file
.github/dependabot.yaml
Just remove the file .github/renovate.json.