Skip to content

Commit 50aa71b

Browse files
authored
Update pr-token value (#6)
Change the reference to the access token
1 parent c71ea21 commit 50aa71b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ascend_npu_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ jobs:
168168
device: ${{ needs.prepare.outputs.device }}
169169
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
170170
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
171-
# secrets:
172-
# pr-token: ${{ secrets.COSDT_BOT_TOKEN }}
171+
secrets:
172+
pr-token: ${{ secrets.ASCEND_RUNNER_TOKEN }}

.github/workflows/dispatch-event.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
id: list-pr
5151
uses: ./.github/actions/list-pr
5252
with:
53-
# token: ${{ secrets.COSDT_BOT_TOKEN }}
53+
token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
5454
owner: pytorch
5555
repository: pytorch
5656
labels: "${{ github.event.inputs.labels || 'module: PrivateUse1' }}"
@@ -71,7 +71,7 @@ jobs:
7171
- name: Dispatch PR event to the out-of-tree test infra
7272
uses: peter-evans/repository-dispatch@v3
7373
with:
74-
# token: ${{ secrets.COSDT_BOT_TOKEN }}
74+
token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
7575
repository: pytorch-fdn/oota
7676
event-type: pytorch-pr-event
7777
client-payload: ${{ toJSON(matrix.data) }}

.github/workflows/redispatch-event.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Redispatch PR event
2121
uses: peter-evans/repository-dispatch@v3
2222
with:
23-
# token: ${{ secrets.COSDT_BOT_TOKEN }}
23+
token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
2424
repository: ${{ github.repository }}
2525
event-type: pytorch-pr-event-redispatch
2626
client-payload: ${{ toJSON(github.event.client_payload) }}

0 commit comments

Comments
 (0)