Skip to content

Commit 81eccc2

Browse files
authored
add release date (#571)
* add release date * update testing
1 parent 2087b8c commit 81eccc2

File tree

3 files changed

+66
-20
lines changed

3 files changed

+66
-20
lines changed

.github/workflows/docker.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
name: Docker
66

77
on:
8+
workflow_dispatch:
9+
issue_comment:
10+
types: [created]
811
push:
912
branches: [main]
1013
paths:
@@ -23,7 +26,36 @@ on:
2326
types: [published]
2427

2528
jobs:
29+
check:
30+
name: Check trigger
31+
runs-on: ubuntu-latest
32+
# Skip issue_comment unless it's /test-docker on a PR
33+
if: >-
34+
github.event_name != 'issue_comment' ||
35+
(github.event.issue.pull_request && startsWith(github.event.comment.body, '/test-docker'))
36+
permissions:
37+
pull-requests: write
38+
steps:
39+
- name: Check permissions
40+
if: github.event_name == 'issue_comment' || github.event_name == 'workflow_dispatch'
41+
run: |
42+
PERMISSION=$(gh api repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission --jq '.permission')
43+
if [[ "$PERMISSION" != "admin" && "$PERMISSION" != "maintain" ]]; then
44+
echo "::error::Only maintainers or admins can trigger this workflow. Your permission: $PERMISSION"
45+
exit 1
46+
fi
47+
env:
48+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
50+
- name: React to comment
51+
if: github.event_name == 'issue_comment'
52+
run: |
53+
gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions -f content=rocket
54+
env:
55+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
2657
build_docker_images:
58+
needs: check
2759
strategy:
2860
matrix:
2961
RAPIDS_VER:
@@ -50,6 +82,8 @@ jobs:
5082

5183
- name: Check out the repo
5284
uses: actions/checkout@v4
85+
with:
86+
ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || '' }}
5387

5488
- name: Log in to the Container registry
5589
uses: docker/login-action@v3

.github/workflows/test-gpu.yml

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,44 @@
11
name: GPU Tests
22

33
on:
4+
workflow_dispatch:
5+
issue_comment:
6+
types: [created]
47
push:
58
branches: [main]
6-
pull_request:
7-
types:
8-
- labeled
9-
- opened
10-
- synchronize
119
# Cancel the job if new commits are pushed
1210
# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre
1311
concurrency:
14-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
group: ${{ github.workflow }}-${{ github.event.issue.number || github.ref }}
1513
cancel-in-progress: true
1614
jobs:
1715
check:
1816
runs-on: ubuntu-latest
17+
# Skip issue_comment unless it's /test-gpu on a PR
18+
if: >-
19+
github.event_name != 'issue_comment' ||
20+
(github.event.issue.pull_request && startsWith(github.event.comment.body, '/test-gpu'))
21+
permissions:
22+
pull-requests: write
1923
steps:
20-
- uses: flying-sheep/check@v1
21-
with:
22-
success: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'run-gpu-ci') }}
24+
- name: Check permissions
25+
if: github.event_name == 'issue_comment' || github.event_name == 'workflow_dispatch'
26+
run: |
27+
PERMISSION=$(gh api repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission --jq '.permission')
28+
if [[ "$PERMISSION" != "admin" && "$PERMISSION" != "maintain" ]]; then
29+
echo "::error::Only maintainers or admins can trigger this workflow. Your permission: $PERMISSION"
30+
exit 1
31+
fi
32+
env:
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: React to comment
36+
if: github.event_name == 'issue_comment'
37+
run: |
38+
gh api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions -f content=rocket
39+
env:
40+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
2342

2443
get-envs:
2544
runs-on: ubuntu-latest
@@ -32,6 +51,7 @@ jobs:
3251
with:
3352
filter: blob:none
3453
fetch-depth: 0
54+
ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || '' }}
3555
- uses: astral-sh/setup-uv@v6
3656
with:
3757
enable-cache: false
@@ -78,6 +98,7 @@ jobs:
7898
with:
7999
fetch-depth: 0
80100
filter: blob:none
101+
ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || '' }}
81102

82103
- uses: astral-sh/setup-uv@v6
83104
with:
@@ -135,6 +156,7 @@ jobs:
135156
with:
136157
fetch-depth: 0
137158
filter: blob:none
159+
ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || '' }}
138160

139161
- uses: astral-sh/setup-uv@v6
140162
with:
@@ -146,16 +168,6 @@ jobs:
146168
- name: Run tests
147169
run: uvx hatch run ${{ matrix.env.name }}:run -v --color=yes
148170

149-
remove-label:
150-
name: Remove 'run-gpu-ci' Label
151-
runs-on: ubuntu-latest
152-
if: ${{ always() && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-gpu-ci') }}
153-
steps:
154-
- uses: actions-ecosystem/action-remove-labels@v1
155-
with:
156-
labels: 'run-gpu-ci'
157-
github_token: ${{ secrets.GITHUB_TOKEN }}
158-
159171
stable-dev-green:
160172
name: CI-Pass
161173
if: always()

docs/release-notes/0.14.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 0.14.1 {small}`the-future`
1+
### 0.14.1 {small}`2026-02-13`
22

33
```{rubric} Features
44
```

0 commit comments

Comments
 (0)