Skip to content

Commit fa3be74

Browse files
committed
update
1 parent 8bd5627 commit fa3be74

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/dispatch-event.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ jobs:
5959
fail-fast: false
6060
max-parallel: 1
6161
matrix:
62-
data: ${{ fromJson(needs.list-pr.outputs.prs) }}
62+
data: ${{ fromJSON(needs.list-pr.outputs.prs) }}
6363
steps:
6464
- name: Dispatch PR events to be out-of-tree test infra
6565
uses: peter-evans/repository-dispatch@v3
6666
with:
6767
token: ${{ secrets.COSDT_BOT_TOKEN }}
6868
repository: cosdt/pytorch-integration-tests
6969
event-type: pytorch-pr-event
70-
client-payload: ${{ toJson(matrix.data) }}
70+
client-payload: ${{ toJSON(matrix.data) }}

.github/workflows/redispatch-event.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
- name: Print PR event payload
1616
continue-on-error: true
1717
run: |
18-
echo "payload: ${{ toJson(github.event.client_payload) }}"
18+
echo "payload: ${{ toJSON(github.event.client_payload) }}"
1919
2020
- name: Redispatch PyTorch event
2121
uses: peter-evans/repository-dispatch@v3
2222
with:
2323
token: ${{ secrets.COSDT_BOT_TOKEN }}
2424
repository: ${{ github.repository }}
2525
event-type: pytorch-pr-event-redispatch
26-
client-payload: ${{ toJson(github.event.client_payload) }}
26+
client-payload: ${{ toJSON(github.event.client_payload) }}

0 commit comments

Comments
 (0)