-
Notifications
You must be signed in to change notification settings - Fork 84
57 lines (49 loc) · 2.06 KB
/
update-drci-comments.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Update Dr. CI comments
on:
schedule:
# Run every 15 minutes
- cron: "*/15 * * * *"
# Have the ability to trigger this job manually through the API (temporary)
workflow_dispatch:
jobs:
update-drci-comments:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Retrieve rockset query results and update Dr. CI comments for the PyTorch repo
run: |
curl --request POST \
--url 'https://www.torch-ci.com/api/drci/drci' \
--header 'Authorization: ${{ secrets.DRCI_BOT_KEY }}' \
--data 'repo=pytorch'
- name: Retrieve rockset query results and update Dr. CI comments for the Vision repo
run: |
curl --request POST \
--url 'https://www.torch-ci.com/api/drci/drci' \
--header 'Authorization: ${{ secrets.DRCI_BOT_KEY }}' \
--data 'repo=vision'
- name: Retrieve rockset query results and update Dr. CI comments for the Text repo
run: |
curl --request POST \
--url 'https://www.torch-ci.com/api/drci/drci' \
--header 'Authorization: ${{ secrets.DRCI_BOT_KEY }}' \
--data 'repo=text'
- name: Retrieve rockset query results and update Dr. CI comments for the Audio repo
run: |
curl --request POST \
--url 'https://www.torch-ci.com/api/drci/drci' \
--header 'Authorization: ${{ secrets.DRCI_BOT_KEY }}' \
--data 'repo=audio'
- name: Retrieve rockset query results and update Dr. CI comments for the Tutorials repo
run: |
curl --request POST \
--url 'https://www.torch-ci.com/api/drci/drci' \
--header 'Authorization: ${{ secrets.DRCI_BOT_KEY }}' \
--data 'repo=tutorials'
- name: Retrieve the Rockset query results and update Dr. CI comments for the ExecuTorch repo
run: |
curl --request POST \
--url 'https://www.torch-ci.com/api/drci/drci' \
--header 'Authorization: ${{ secrets.DRCI_BOT_KEY }}' \
--data 'repo=executorch'