Skip to content

Commit 9ce2c6c

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

2 files changed

Lines changed: 23 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: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
permissions:
11+
pull-requests: write
12+
steps:
13+
- name: Add link to PR description
14+
env:
15+
PR_NUMBER: ${{ github.event.pull_request.number }}
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
run: |
18+
curl -X POST \
19+
-H "Authorization: token $GITHUB_TOKEN" \
20+
-H "Accept: application/vnd.github.v3+json" \
21+
"https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUMBER/comments" \
22+
-d '{ "body": "e2e testgrid: https://8bcf50593faf4ea38060e236169827e5-dot-us-central1.composer.googleusercontent.com/dags/maxdiffusion_tpu_e2e/grid" }'

0 commit comments

Comments
 (0)