Skip to content

Commit 266a1a6

Browse files
matthew29tangcopybara-github
authored andcommitted
chore: Fix google-contributor-stale workflow for GenAI SDKs
PiperOrigin-RevId: 933836369
1 parent 43a352f commit 266a1a6

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/google-contributor-stale.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ name: Close inactive google-contributor PRs
44
on:
55
schedule:
66
- cron: "30 2 * * *"
7+
workflow_dispatch: {}
78

89
jobs:
910
stale:
1011
runs-on: ubuntu-latest
1112
permissions:
1213
pull-requests: write
14+
issues: write
1315

1416
steps:
1517
- uses: actions/stale@v5
@@ -18,7 +20,7 @@ jobs:
1820
any-of-labels: "google-contributor"
1921
days-before-pr-stale: 14
2022
days-before-pr-close: 0
21-
stale-pr-label: ""
23+
stale-pr-label: "status:stale"
2224
exempt-pr-labels: "override-stale"
2325
close-pr-message: >
2426
This google-contributor PR has been inactive for 14 days.

‎.github/workflows/stale.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ name: Mark and close stale issues
33

44
on:
55
schedule:
6-
# Scheduled to run at 1:30 UTC everyday
7-
- cron: '30 1 * * *'
6+
# Scheduled to run at 1:30 UTC everyday
7+
- cron: '30 1 * * *'
8+
workflow_dispatch: {}
89

910
jobs:
1011
stale:

0 commit comments

Comments
 (0)