We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb61bd0 commit 3b268cbCopy full SHA for 3b268cb
.github/workflows/test-gpu.yml
@@ -120,10 +120,9 @@ jobs:
120
remove-label:
121
name: Remove 'run-gpu-ci' Label
122
runs-on: ubuntu-latest
123
- if: ${{ always() && github.event_name == 'pull_request' }}
+ if: ${{ always() && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-gpu-ci') }}
124
steps:
125
- uses: actions-ecosystem/action-remove-labels@v1
126
- if: contains(github.event.pull_request.labels.*.name, 'run-gpu-ci')
127
with:
128
labels: 'run-gpu-ci'
129
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments