-
-
Notifications
You must be signed in to change notification settings - Fork 632
33 lines (29 loc) · 773 Bytes
/
close-when-stale.yml
File metadata and controls
33 lines (29 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Check for stale issues
on:
schedule:
- cron: '37 21 * * *' # at 21:37 every day
issues:
types: [edited]
issue_comment:
types: [created, edited]
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4
with:
repository: 'software-mansion-labs/swmansion-bot'
ref: stable
- uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Actions
run: yarn install
- name: Close when stale
uses: ./close-when-stale
with:
close-when-stale-label: 'close-when-stale'
days-to-close: 14