Skip to content

Commit

Permalink
add stale repos GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Firebird1029 committed Jul 31, 2024
1 parent abd5c57 commit 5044e75
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/stale_repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: stale repo identifier

on:
workflow_dispatch:
schedule:
- cron: "3 2 1 * *"
push:
branches:
- add-stale-repos-workflow

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.GITHUB_TOKEN }}
ORGANIZATION: DSACMS
# ORGANIZATION: ${{ secrets.ORGANIZATION }}
INACTIVE_DAYS: 365

- name: Create issue
uses: peter-evans/create-issue-from-file@v4
with:
title: Stale repository report
content-filepath: ./stale_repos.md

0 comments on commit 5044e75

Please sign in to comment.