Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for new GitHub authentication token format #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,21 @@ signatures:
- part: 'contents'
regex: '(?i)github(.{0,20})?(?-i)[''\"][0-9a-zA-Z]{35,40}[''\"]'
name: 'Github Key'
- part: 'contents'
regex: 'ghp_[A-Za-z0-9_]{35,255}'
name: 'GitHub Personal Access Token'
- part: 'contents'
regex: 'gho_[A-Za-z0-9_]{35,255}'
name: 'GitHub OAuth Access Token'
- part: 'contents'
regex: 'ghu_[A-Za-z0-9_]{35,255}'
name: 'GitHub App user-to-server token'
- part: 'contents'
regex: 'ghs_[A-Za-z0-9_]{35,255}'
name: 'GitHub App server-to-server token'
- part: 'contents'
regex: 'ghr_[A-Za-z0-9_]{35,255}'
name: 'GitHub App refresh token'
- part: 'contents'
regex: '(?i)heroku(.{0,20})?[''"][0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[''"]'
name: 'Heroku API key'
Expand Down