-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 1.04 KB
/
stale_repos.yml
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
34
35
36
# Action to highlight inactive repos (defined as no activity for > 180 days)
# Designed to ensure that any repos we are no longer working on are either:
# - Highlighted for any preventive maintenance (e.g., updating dependencies)
# - Archived to ensure nobody is using unmaintained tools
# An issue will be raised (assigned to @adamltyson) that will highlight these repos.
name: stale repo identifier
on:
workflow_dispatch:
schedule:
- cron: "3 2 1 * *"
jobs:
build:
name: stale repo identifier
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run stale_repos tool
uses: docker://ghcr.io/github/stale_repos:v1
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
ORGANIZATION: ${{ secrets.ORGANIZATION }}
INACTIVE_DAYS: 180 # ~6 months
- name: Create issue
uses: peter-evans/create-issue-from-file@v4
with:
title: Stale repository report
content-filepath: ./stale_repos.md
assignees: adamltyson