generated from DSACMS/.github
-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (28 loc) · 962 Bytes
/
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
name: stale repo identifier
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *" # first day of every month
jobs:
build:
name: stale repo identifier
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run stale_repos tool
uses: docker://ghcr.io/github/stale_repos:v1
env:
GH_TOKEN: ${{ secrets.METRICS_GITHUB_TOKEN }}
ORGANIZATION: DSACMS
# ORGANIZATION: ${{ secrets.ORGANIZATION }}
INACTIVE_DAYS: 730
- name: Create issue
uses: peter-evans/create-issue-from-file@v5
with:
title: Stale repository report
content-filepath: ./stale_repos.md
labels: |
report
automated issue