-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ISD-1092-loki-alert-rules
- Loading branch information
Showing
6 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Token scopes | ||
|
||
## Fine grained access token scopes | ||
|
||
### Organizational Runners | ||
|
||
The following are the permissions scopes required for the GitHub runners when registering as an | ||
organisational runner. | ||
|
||
Organisation: | ||
|
||
- Self-hosted runners: read & write | ||
|
||
Repository: | ||
|
||
- Administration: read | ||
- Contents: read | ||
- Pull requests: read | ||
|
||
### Repository Runners | ||
|
||
The following are the permissions scopes required for the GitHub runners when registering as an | ||
repository runner. | ||
|
||
- Contents: read | ||
- Metadata: read | ||
- Pull requests: read | ||
|
||
## Personal access token scopes | ||
|
||
### Organizational Runners | ||
|
||
To use this charm for GitHub organisations, the following scopes should be selected: | ||
|
||
- `repo` | ||
- `admin:org` | ||
|
||
### Repository Runners | ||
|
||
To use this charm for GitHub repositories, the following scopes should be selected: | ||
|
||
- `repo` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters