Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Add back github action to remove stale issues. #561

Merged
merged 3 commits into from
Aug 4, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add back github action to remove stale issues.
  • Loading branch information
andygup committed Aug 4, 2021
commit a3b6d310400afee23e2e82a18bba82c816f0b461
30 changes: 30 additions & 0 deletions DotNet/.github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Close stale issues"

# Controls when the workflow will run.
on:
schedule:
- cron: "0 0 * * *"
# Cron job time seems to be UTC
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# stale:
stale-check:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need additional assistance please contact Esri Technical Support. Thank you for your contributions."
close-issue-message: "This issue has been automatically closed due to inactivity. If you need additional assistance please contact Esri Technical Support."
stale-pr-message: "This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need additional assistance please contact Esri Technical Support. Thank you for your contributions."
close-pr-message: "This PR has been automatically closed due to inactivity. If you need additional assistance please contact Esri Technical Support."
only-labels: null
andygup marked this conversation as resolved.
Show resolved Hide resolved
days-before-stale: 1000
andygup marked this conversation as resolved.
Show resolved Hide resolved
days-before-close: 31
delete-branch: false

# Run the processor in debug mode without actually performing any operations on live issues.
# debug-only: true # optional, default is false