Skip to content

Commit ab4b304

Browse files
change stale issue and discussion handling to run once a week (#106)
1 parent 9978ba2 commit ab4b304

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ jobs:
140140
./linux-container-ci.sh ${{ env.BUILDER_VERSION }} aws-crt-${{ env.LINUX_BASE_IMAGE }} build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DUSE_CPU_EXTENSIONS=OFF
141141
142142
windows:
143-
runs-on: windows-2022 # latest
143+
runs-on: windows-2025 # latest
144144
steps:
145145
- name: Build ${{ env.PACKAGE_NAME }} + consumers
146146
run: |
147147
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
148148
python builder.pyz build -p ${{ env.PACKAGE_NAME }}
149149
150-
windows-vc14:
151-
runs-on: windows-2019 # windows-2019 is last env with Visual Studio 2015 (v14.0)
150+
windows-vc17:
151+
runs-on: windows-2025 # windows-2019 is last env with Visual Studio 2015 (v14.0)
152152
strategy:
153153
matrix:
154154
arch: [x86, x64]
@@ -160,10 +160,10 @@ jobs:
160160
- name: Build ${{ env.PACKAGE_NAME }} + consumers
161161
run: |
162162
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
163-
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --target windows-${{ matrix.arch }} --compiler msvc-14
163+
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --target windows-${{ matrix.arch }} --compiler msvc-17
164164
165165
windows-shared-libs:
166-
runs-on: windows-2022 # latest
166+
runs-on: windows-2025 # latest
167167
steps:
168168
- uses: aws-actions/configure-aws-credentials@v4
169169
with:
@@ -175,7 +175,7 @@ jobs:
175175
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DBUILD_SHARED_LIBS=ON
176176
177177
windows-no-cpu-extensions:
178-
runs-on: windows-2022 # latest
178+
runs-on: windows-2025 # latest
179179
steps:
180180
- uses: aws-actions/configure-aws-credentials@v4
181181
with:
@@ -187,7 +187,7 @@ jobs:
187187
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DUSE_CPU_EXTENSIONS=OFF
188188
189189
windows-app-verifier:
190-
runs-on: windows-2022 # latest
190+
runs-on: windows-2025 # latest
191191
steps:
192192
- uses: aws-actions/configure-aws-credentials@v4
193193
with:

.github/workflows/handle-stale-discussions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: HandleStaleDiscussions
22
on:
33
schedule:
4-
- cron: '0 */4 * * *'
4+
- cron: "0 9 * * 1"
55
discussion_comment:
66
types: [created]
77

@@ -15,4 +15,4 @@ jobs:
1515
- name: Stale discussions action
1616
uses: aws-github-ops/handle-stale-discussions@v1
1717
env:
18-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
18+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/stale_issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Close stale issues"
33
# Controls when the action will run.
44
on:
55
schedule:
6-
- cron: "*/60 * * * *"
6+
- cron: "0 9 * * 1"
77

88
jobs:
99
cleanup:

0 commit comments

Comments
 (0)