- Fill
package.json
file with relevant fields Repo settings > General
:- check:
Allow auto-merge
- check;
Automatically delete head branches
- check:
Repo settings > Actions > General > Workflow permissions
:- check
Read and write permissions
- check
Allow GitHub Actions to create and approve pull requests
- check
Repo settings > Code security and analysis
:- Configure Dependabot
Repo settings > Branches
, configuremaster
branch protection rules:- check
Require a pull request before merging
- check
Require status checks to pass before merging
- select required status checks:
Test and build
Upload code coverage
- check
User settings > Applications
:- enable Changesets bot
User settigns > Developer Settings > Personal access tokens > Fine-grained tokens
- add the new repo to the
RELEASE_TOKEN
access token
- add the new repo to the
Repo settings > Secrets and variables > Actions
- create a new
RELEASE_TOKEN
repository secret with the value ofRELEASE_TOKEN
access token
- create a new
Any contribution should be provided with a changesets
update:
npx changeset