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 basic support for fine-grained tokens #6640

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

fregante
Copy link
Member


if (tokenField.value.startsWith('github_pat_')) {
// Validation not supported yet https://github.com/refined-github/refined-github/issues/6092
return;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validation fails:

Screenshot 5

So this line of code stops it. This is the result:

Screenshot 4

@fregante fregante enabled auto-merge (squash) May 10, 2023 15:14
@fregante fregante merged commit 358edc2 into main May 10, 2023
10 checks passed
@fregante fregante deleted the fine-grained-token branch May 10, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant