Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow for stale issues #276

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
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
48 changes: 48 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Handle stale issues
on:
schedule:
- cron: "30 2 * * *" # Runs every day at 2:30 AM UTC

permissions:
contents: read

jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
if: github.repository_owner == 'GIScience'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

stale-issue-message: >
The Openrouteservice project highly values your report and would love to see it addressed.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The Openrouteservice project highly values your report and would love to see it addressed.
We highly value your report and would love to see it addressed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this makes it a bit more personal but less professional.

However, this issue has been left in feedback mode for the last 30 days and is
being automatically marked as "stale".

If you would like to continue with this issue, please provide any missing information
or answer any open questions. If you could resolve the issue yourself meanwhile,
please leave a note for future readers with the same problem and close the issue.

In case you should have any uncertainty, please leave a comment and we will be
happy to help you proceed with this issue.

If there is no further activity on this issue, it will be closed in two weeks.


close-issue-message: >
While we hate to see this happen, this issue has been automatically closed because
it has not had any activity in the last 60 days despite being marked as feedback.
If this issue should be reconsidered, please reopen this it.

Or, if you have any further questions, there are also
[further support channels](https://ask.openrouteservice.org/)
that can help you.


stale-issue-label: 'stale'
only-issue-labels: 'feedback'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to understand, this will only touch issues that manually got a feedback label?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's how its done in QGIS. See qgis/QGIS#58465

days-before-issue-stale: 30
days-before-issue-close: 60
Loading