Skip to content

Commit

Permalink
README: Add permissions to sample code (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit authored Mar 7, 2024
1 parent c4a3f68 commit f974e0c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ An example output of a simple workflow run will look like this.
To use the action, add the following step before the steps you want to track.

```yaml
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
permissions:
pull-requests: write
jobs:
workflow-telemetry-action:
runs-on: ubuntu-latest
steps:
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
```
## Configuration
Expand Down

0 comments on commit f974e0c

Please sign in to comment.