Skip to content

Commit cf21c67

Browse files
committed
docs: mention read:project scope [skip ci]
1 parent 3d59fbd commit cf21c67

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/readme/partials/documentation/setup/action.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ A a general rule, the following scopes may be required:
2828
- `repo` for all private repositories related metrics
2929
- `read:user` for some private repositories related metrics
3030
- `read:packages` for some packages related metrics
31+
- `read:project` for some projects related metrics
3132
- `gist` for publishing renders to gists instead of a repository
3233

3334
> 💡 For security reasons, it is advised to always use the least amount of scopes. It is possible to prevent security issues by [forking this repository](https://github.com/lowlighter/metrics/fork) and using it in your workflow instead (more information available in step 3)

source/app/web/statics/oauth/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
Sign in with GitHub
6060
</a>
6161
<div class="oauth-scopes">
62-
<label v-for="scope in ['read:org', 'read:user', 'read:packages']">
62+
<label v-for="scope in ['read:org', 'read:user', 'read:packages', 'read:project']">
6363
<input type="checkbox" :value="scope" v-model="scopes"> <code>{{ scope }}</code>
6464
</label>
6565
</div>

0 commit comments

Comments
 (0)