File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ name: Test
22
33on :
44 # To debug the workflow, uncomment this entry AND comment pull_request_target
5- # pull_request:
6- # branches: [ main ]
7- pull_request_target :
8- branches : [ main, "migrate**" ]
9- types : [ labeled, opened, reopened, synchronize ]
5+ pull_request :
6+ branches : [ main ]
7+ # pull_request_target:
8+ # branches: [ main, "migrate**" ]
9+ # types: [ labeled, opened, reopened, synchronize ]
1010 schedule :
1111 - cron : " 0 5 * * *" # = 06:00 CET = 07:00 CEST
1212
2525 python-version : " 3.13"
2626
2727jobs :
28+ skip :
29+ name : Skip workflow on PR branch
30+ runs-on : ubuntu-latest
31+ steps :
32+ - name : Early exit
33+ run : |
34+ gh run cancel ${{ github.run_id }}
35+ gh run watch ${{ github.run_id }}
36+ env :
37+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38+
2839 check :
2940 name : Check permissions, identify ref to test
41+ needs : skip
3042 runs-on : ubuntu-latest
3143 steps :
3244 - if : >
You can’t perform that action at this time.
0 commit comments