Skip to content

Commit 3b268cb

Browse files
committed
update remove label
1 parent fb61bd0 commit 3b268cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/test-gpu.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,9 @@ jobs:
120120
remove-label:
121121
name: Remove 'run-gpu-ci' Label
122122
runs-on: ubuntu-latest
123-
if: ${{ always() && github.event_name == 'pull_request' }}
123+
if: ${{ always() && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-gpu-ci') }}
124124
steps:
125125
- uses: actions-ecosystem/action-remove-labels@v1
126-
if: contains(github.event.pull_request.labels.*.name, 'run-gpu-ci')
127126
with:
128127
labels: 'run-gpu-ci'
129128
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)