Skip to content

Commit b4a18bc

Browse files
Update github-event-processor version (#34720)
Co-authored-by: James Suplizio <[email protected]>
1 parent 23121a5 commit b4a18bc

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/event-processor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: >
5959
dotnet tool install
6060
Azure.Sdk.Tools.GitHubEventProcessor
61-
--version 1.0.0-dev.20240229.2
61+
--version 1.0.0-dev.20240308.3
6262
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
6363
--global
6464
shell: bash
@@ -114,7 +114,7 @@ jobs:
114114
run: >
115115
dotnet tool install
116116
Azure.Sdk.Tools.GitHubEventProcessor
117-
--version 1.0.0-dev.20240229.2
117+
--version 1.0.0-dev.20240308.3
118118
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
119119
--global
120120
shell: bash

.github/workflows/scheduled-event-processor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: GitHub Scheduled Event Processor
22

33
on:
44
schedule:
5+
# These are generated/confirmed using https://crontab.cronhub.io/
56
# Close stale issues, runs every day at 1am - CloseStaleIssues
67
- cron: '0 1 * * *'
78
# Identify stale pull requests, every Friday at 5am - IdentifyStalePullRequests
@@ -14,9 +15,10 @@ on:
1415
- cron: '30 4,10,16,22 * * *'
1516
# Lock closed issues, every 6 hours at 05:30 AM, 11:30 AM, 05:30 PM and 11:30 PM - LockClosedIssues
1617
- cron: '30 5,11,17,23 * * *'
17-
# Enforce max life of issues, every Monday at 10:00 AM - EnforceMaxLifeOfIssues
18+
# Enforce max life of issues, every M,W,F at 10:00 AM PST - EnforceMaxLifeOfIssues
1819
# Note: GitHub uses UTC, to run at 10am PST, the cron task needs to be 6pm (1800 hours) UTC
19-
- cron: '0 18 * * MON'
20+
# When scheduling for multiple days the numeric days 0-6 (0=Sunday) must be used.
21+
- cron: '0 18 * * 1,3,5'
2022
# This removes all unnecessary permissions, the ones needed will be set below.
2123
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
2224
permissions: {}
@@ -37,7 +39,7 @@ jobs:
3739
run: >
3840
dotnet tool install
3941
Azure.Sdk.Tools.GitHubEventProcessor
40-
--version 1.0.0-dev.20240229.2
42+
--version 1.0.0-dev.20240308.3
4143
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
4244
--global
4345
shell: bash
@@ -131,7 +133,7 @@ jobs:
131133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
132134

133135
- name: Enforce Max Life of Issues Scheduled Event
134-
if: github.event.schedule == '0 18 * * MON'
136+
if: github.event.schedule == '0 18 * * 1,3,5'
135137
run: |
136138
cat > payload.json << 'EOF'
137139
${{ toJson(github.event) }}

0 commit comments

Comments
 (0)