github / github/accessibility-scanner
2. Create a token and add a secret - CLARIFICATION
- Ngôn ngữ chính
- TypeScript
- Star
- 369
- Fork
- 40
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 10
Mô tả
We need a [GH_TOKEN is a fine-grained PAT](https://github.com/marketplace/actions/accessibility-scanner#2-create-a-token-and-add-a-secret) with:
```
actions: write
contents: write
issues: write
pull-requests: write
metadata: read
```
So
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#pre-filling-fine-grained-personal-access-token-details-using-url-parameters
We can pre-fill and not use:
```
https://github.com/settings/personal-access-tokens/new
?name=Repo-reading+token
&description=Just+contents:read
&target_name=octodemo
&expires_in=45
&contents=read
```
But maybe a [link like this](https://github.com/settings/personal-access-tokens/new?name=Accessibility-scan+token&description=GitHub+A11y+Scanner&actions=write&contents=write&issues=write&pull_requests=write&metadata=read):
```
https://github.com/settings/personal-access-tokens/new
?name=Accessibility-scan+token
&description=GitHub+A11y+Scanner
&actions=write
&contents=write
&issues=write
&pull_requests=write
&metadata=read
```
Correct?
Hướng dẫn đóng góp
Hướng nghiên cứu
Trước tiên, hãy xem lại hướng dẫn thiết lập Marketplace được liên kết và tài liệu về GitHub fine-grained personal access tokens. Xác nhận xem các quyền được liệt kê và URL điền sẵn có chính xác hay không, sau đó cập nhật hướng dẫn tạo token để nêu rõ các scopes bắt buộc và liên kết hợp lệ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github
- Lĩnh vực
- documentation, security
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100