Skip to content

Commit

Permalink
Use @octokit/app as the main Octokit dependency
Browse files Browse the repository at this point in the history
GitHub encourages the use of the GitHub App workflow when a system needs
to interact with the GitHub API on its own behalf, rather than using
personal access tokens which need to be regenerated on a regular basis.

This library exposes the GitHub API in a way that's indended to be used
for this workflow.

See
https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app
for more information about authentication for GitHub apps, including
when an application should authenticate as itself rather than as a
user.
  • Loading branch information
danlivings-dxw committed Sep 9, 2024
1 parent ecd0e38 commit 997d9c4
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 42 deletions.
247 changes: 206 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "dxw",
"license": "MIT",
"dependencies": {
"@octokit/rest": "^21.0.2",
"@octokit/app": "^15.1.0",
"nunjucks": "^3.2.4"
},
"devDependencies": {
Expand Down

0 comments on commit 997d9c4

Please sign in to comment.