From ad3f384117ccf8d8e155a20b693759bb217d02ff Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Thu, 22 Jun 2023 13:06:22 -0500 Subject: [PATCH] Create stale_repos.yml --- .github/workflows/stale_repos.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/stale_repos.yml diff --git a/.github/workflows/stale_repos.yml b/.github/workflows/stale_repos.yml new file mode 100644 index 0000000..c63d9f3 --- /dev/null +++ b/.github/workflows/stale_repos.yml @@ -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 }}