-
Notifications
You must be signed in to change notification settings - Fork 31
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
merydian
wants to merge
7
commits into
main
Choose a base branch
from
stale-issues
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
eda60e8
feat: add workflow for stale issues
merydian 694f864
fix: remove unnecessary pr lines
merydian acfca24
style: add empty line at end
merydian c19d9ed
style: remove placeholder comment
merydian 27126c8
style: remove glassses emoji
merydian c574406
style: set days till close to 60 in text
merydian 686d885
feat: set days till close to 60
merydian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
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' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just to understand, this will only touch issues that manually got a There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.