octokit-safe-types
v1.2.2
Published
A library of readonly versions of Octokit types and their corresponding validators
Maintainers
Readme
octokit-safe-types
A library of readonly versions of Octokit types and their corresponding validators.
Repository Setup
- Copy
.env.exampleto.envand set Personal Access Token withrepoaccess. - Run
npm run gh:apply-allto update GitHub Repository Settings. - Set Actions secrets on the GUI settings page (https://github.com/{owner}/{repo}/settings/secrets/actions).
NPM_TOKEN- Open https://www.npmjs.com/settings/{your-user-id}/tokens -> Generate New Token -> Classic Token -> Select
Automationand generate. - Required for semantic-release to run npm publish
- Open https://www.npmjs.com/settings/{your-user-id}/tokens -> Generate New Token -> Classic Token -> Select
SEMANTIC_RELEASE_GIT_PERMISSION_BOT_PRIVATE_KEY- https://github.com/apps/semantic-release-git-permission -> App settings -> Generate a private key
- Required for
@semantic-release/gitto perform a git commit to the main branch
PERSONAL_ACCESS_TOKEN- The same value as
1. - Required for
.github/workflows/backup-repository-settings.ymlto run
- The same value as
- Set Dependabot secrets on the GUI settings page (https://github.com/{owner}/{repo}/settings/secrets/dependabot).
DEPENDABOT_AUTO_MERGE_BOT_PRIVATE_KEY- https://github.com/apps/dependabot-auto-merge-permissions -> App settings -> Generate a private key
PERSONAL_ACCESS_TOKEN- The same value as
1. - Required for
.github/workflows/backup-repository-settings.ymlto run
- The same value as
