Skip to content

Commit

Permalink
Create stale_repos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpaul committed Jun 22, 2023
1 parent e22c29e commit ad3f384
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale_repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Stale Repo Identifier

on:
workflow_dispatch:
schedule:
- cron: '3 2 1 * *'

jobs:
build:
name: stale repo identifier
runs-on: ubuntu-latest

steps:
- name: Run stale_repos tool
uses: github/stale-repos@v1
env:
GH_TOKEN: ${{ secrets.GH_PAT_REPO }}
ORGANIZATION: 10up
EXEMPT_TOPICS: "keep,template"
INACTIVE_DAYS: 365

- name: Create issue
uses: peter-evans/create-issue-from-file@v4
with:
title: Stale repository report
content-filepath: ./STALE_REPOS.md
assignees: @jeffpaul
token: ${{ secrets.GH_PAT_REPO }}

0 comments on commit ad3f384

Please sign in to comment.