Skip to content

The Open Source DocuSign Alternative.

feat: added stale workflow

Adithya Krishna68120794f80d
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 000000000..5ad43c839
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,27 @@
+name: "Mark Stale Issues and PRs"
+
+on:
+ schedule:
+ - cron: '0 */8 * * *'
+
+jobs:
+ stale:
+
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ pull-requests: write
+
+ steps:
+ - uses: actions/stale@v3
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ days-before-pr-stale: 30
+ days-before-issue-stale: 30
+ stale-issue-message: 'This issue has not seen activity for a while. It will be closed in 30 days unless further activity is detected'
+ stale-pr-message: 'This PR has not seen activitiy for a while. It will be closed in 30 days unless further activity is detected.'
+ close-issue-message: 'This issue has been closed because of inactivity.'
+ close-pr-message: 'This PR has been closed because of inactivity.'
+ exempt-pr-labels: 'WIP, on-hold, needs review'
+
+
\ No newline at end of file