mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Improve the daily.yml workflow (#8737)
This commit is contained in:
5
.github/workflows/daily.yml
vendored
5
.github/workflows/daily.yml
vendored
@@ -15,7 +15,7 @@ env:
|
||||
jobs:
|
||||
stubtest-stdlib:
|
||||
name: Check stdlib with stubtest
|
||||
if: github.repository == 'python/typeshed'
|
||||
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
stubtest-third-party:
|
||||
name: Check third party stubs with stubtest
|
||||
if: github.repository == 'python/typeshed'
|
||||
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -76,4 +76,5 @@ jobs:
|
||||
repo: "typeshed",
|
||||
title: `Stubtest failed on ${new Date().toDateString()}`,
|
||||
body: "Stubtest runs are listed here: https://github.com/python/typeshed/actions/workflows/daily.yml",
|
||||
labels: ["help wanted"],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user