Skip to content

Commit 0bb33b3

Browse files
authored
Update schedule for lock.yml
To avoid hitting API rate limits. [skip ci]
1 parent 7a9a544 commit 0bb33b3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/lock.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@ name: 'Lock Issues'
44
on:
55
workflow_dispatch:
66
schedule:
7-
- cron: '0 0 * * *'
7+
- cron: '45 21 * * *'
88

99
permissions:
1010
issues: write
1111
pull-requests: write
1212

1313
jobs:
1414
action:
15+
if: github.repository_owner == 'seleniumhq'
1516
runs-on: ubuntu-latest
1617
steps:
17-
- uses: dessant/lock-threads@v2
18+
- uses: dessant/lock-threads@v5
1819
with:
1920
process-only: 'issues'
20-
issue-lock-inactive-days: '30'
21+
issue-inactive-days: '30'
2122
issue-lock-reason: ''
22-
issue-lock-comment: >
23+
issue-comment: >
2324
This issue has been automatically locked since there
24-
has not been any recent activity after it was closed.
25+
has not been any recent activity since it was closed.
2526
Please open a new issue for related bugs.

0 commit comments

Comments
 (0)