Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Dec 8, 2022
1 parent faa2bf0 commit b155cf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Dispatch an event to a remote repository using a `repo` scoped [Personal Access
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
token: ${{ secrets.PAT }}
event-type: my-event
```

Expand Down Expand Up @@ -48,7 +48,7 @@ Here is an example setting all of the input parameters.
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
token: ${{ secrets.PAT }}
repository: username/my-repo
event-type: my-event
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
token: ${{ secrets.PAT }}
repository: ${{ matrix.repo }}
event-type: my-event
```
Expand Down

0 comments on commit b155cf1

Please sign in to comment.