Skip to content

Commit f974e0c

Browse files
authored
README: Add permissions to sample code (catchpoint#61)
1 parent c4a3f68 commit f974e0c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,14 @@ An example output of a simple workflow run will look like this.
5151
To use the action, add the following step before the steps you want to track.
5252

5353
```yaml
54-
- name: Collect Workflow Telemetry
55-
uses: catchpoint/workflow-telemetry-action@v2
54+
permissions:
55+
pull-requests: write
56+
jobs:
57+
workflow-telemetry-action:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Collect Workflow Telemetry
61+
uses: catchpoint/workflow-telemetry-action@v2
5662
```
5763
5864
## Configuration

0 commit comments

Comments
 (0)