Skip to content

Commit 6fde8c9

Browse files
committed
add entry for the new input
1 parent 263a2f0 commit 6fde8c9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,23 @@ This action outputs Github Action workflows and jobs details to OTLP via gRPC.
1414

1515
**Optional** Additional header configuration to pass in as metadata to the gRPC connection.
1616

17+
## `repo-token`
18+
19+
**Optional** Token to use to authorize access to private repositories. Typically the `GITHUB_TOKEN` secret, with `checks:read` access.
20+
1721
## Example usage
1822

1923
```
2024
uses: codeboten/github-action-to-otlp@v1
2125
with:
2226
endpoint: 'grpc.otlpendpoint.io:443'
2327
```
28+
29+
## Example usage in a private repository
30+
31+
```
32+
uses: codeboten/github-action-to-otlp@v1
33+
with:
34+
endpoint: 'grpc.otlpendpoint.io:443'
35+
repo-token: ${{ secrets.GITHUB_TOKEN }}
36+
```

0 commit comments

Comments
 (0)