3030jobs :
3131 stubtest-stdlib :
3232 name : " stubtest: stdlib"
33- if : ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch ' }}
33+ if : ${{ github.repository == 'python/typeshed' || github.event_name != 'schedule ' }}
3434 runs-on : ${{ matrix.os }}
3535 strategy :
3636 matrix :
3939 fail-fast : false
4040
4141 steps :
42- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v5
4343 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
44- uses : actions/setup-python@v5
44+ uses : actions/setup-python@v6
4545 with :
4646 python-version : ${{ matrix.python-version }}
4747 cache : pip
@@ -58,16 +58,16 @@ jobs:
5858
5959 stubtest-third-party :
6060 name : " stubtest: third party"
61- if : ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch ' }}
61+ if : ${{ github.repository == 'python/typeshed' || github.event_name != 'schedule ' }}
6262 runs-on : ${{ matrix.os }}
6363 strategy :
6464 matrix :
6565 os : ["ubuntu-latest", "windows-latest", "macos-latest"]
6666 shard-index : [0, 1, 2, 3]
6767 fail-fast : false
6868 steps :
69- - uses : actions/checkout@v4
70- - uses : actions/setup-python@v5
69+ - uses : actions/checkout@v5
70+ - uses : actions/setup-python@v6
7171 with :
7272 python-version : " 3.13"
7373 cache : pip
@@ -110,19 +110,19 @@ jobs:
110110
111111 stub-uploader :
112112 name : stub_uploader tests
113- if : ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch ' }}
113+ if : ${{ github.repository == 'python/typeshed' || github.event_name != 'schedule ' }}
114114 runs-on : ubuntu-latest
115115 steps :
116116 - name : Checkout typeshed
117- uses : actions/checkout@v4
117+ uses : actions/checkout@v5
118118 with :
119119 path : typeshed
120120 - name : Checkout stub_uploader
121- uses : actions/checkout@v4
121+ uses : actions/checkout@v5
122122 with :
123123 repository : typeshed-internal/stub_uploader
124124 path : stub_uploader
125- - uses : actions/setup-python@v5
125+ - uses : actions/setup-python@v6
126126 with :
127127 # Keep in sync with stub_uploader's check_scripts.yml workflow.
128128 python-version : " 3.13"
@@ -144,7 +144,7 @@ jobs:
144144 permissions :
145145 issues : write
146146 steps :
147- - uses : actions/github-script@v7
147+ - uses : actions/github-script@v8
148148 with :
149149 github-token : ${{ secrets.GITHUB_TOKEN }}
150150 script : |
0 commit comments