Skip to content

Commit ac1d736

Browse files
committed
Try out posting xlml test link in PR
Signed-off-by: Kunjan patel <kunjanp@google.com>
1 parent 9fa0fb4 commit ac1d736

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/actions/setup-miniconda/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
description: If set to any value, dont use sudo to clean the workspace
88
required: false
99
type: string
10-
default: "3.9"
10+
default: "3.10"
1111
miniconda-version:
1212
description: Miniconda version to install
1313
required: false

.github/workflows/XLML.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Add Testgrid Link to PR
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
jobs:
8+
add_testgrid_link:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Add link to PR description
12+
env:
13+
PR_NUMBER: ${{ github.event.pull_request.number }}
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
run: |
16+
curl -X POST \
17+
-H "Authorization: token $GITHUB_TOKEN" \
18+
-H "Accept: application/vnd.github.v3+json" \
19+
"https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUMBER/comments" \
20+
-d '{ "body": "e2e testgrid: https://8bcf50593faf4ea38060e236169827e5-dot-us-central1.composer.googleusercontent.com/dags/maxdiffusion_tpu_e2e/grid" }'

0 commit comments

Comments
 (0)