ci: pull_request_target does not support labelled

This commit is contained in:
Gaël Goinvic committed 2024-11-21 17:50:46 +01:00
1 parent 19b8882fa8
commit 78fa20c65b
1 file changed
+1 -3
+1 -3
View File
@@ -6,13 +6,11 @@ name: Run Pytest tests
on:
pull_request_target:
types: [labeled]
jobs:
pytest:
if: contains(github.event.pull_request_target.labels.*.name, 'safe to test')
runs-on: gha-runners-element-hq-dind-m
runs-on: dind-privileged-m
container:
image: ghcr.io/${{ github.repository }}/ci-runner
credentials: