Skip to content

Commit 3e71efb

Browse files
authored
Improve the daily.yml workflow (#8737)
1 parent 246f7e7 commit 3e71efb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/daily.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
stubtest-stdlib:
1717
name: Check stdlib with stubtest
18-
if: github.repository == 'python/typeshed'
18+
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
@@ -38,7 +38,7 @@ jobs:
3838

3939
stubtest-third-party:
4040
name: Check third party stubs with stubtest
41-
if: github.repository == 'python/typeshed'
41+
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
4242
runs-on: ubuntu-20.04
4343
strategy:
4444
matrix:
@@ -76,4 +76,5 @@ jobs:
7676
repo: "typeshed",
7777
title: `Stubtest failed on ${new Date().toDateString()}`,
7878
body: "Stubtest runs are listed here: https://github.com/python/typeshed/actions/workflows/daily.yml",
79+
labels: ["help wanted"],
7980
})

0 commit comments

Comments
 (0)