Update issue managers

This commit is contained in:
Daniel 2023-05-16 13:09:47 +02:00
parent bfb439adeb
commit ed58a16cbd
3 changed files with 97 additions and 50 deletions

23
.github/auto-comment.yml vendored Normal file
View file

@ -0,0 +1,23 @@
issueOpened: >
Thank you for reaching out.
In case you are raising an issue, you can find more information to try to it yourself here:
- [Wiki & FAQ](https://wiki.safing.io/)
- [GitHub Issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+user%3Asafing+sort%3Aupdated-desc)
- [Ask on Discord](https://discord.gg/safing)
Additionally, there is a __ChatGPT-like support bot__ trained on our documentation, that you can [ask for help in this Discord channel](https://discord.com/channels/389815143711637517/1106170808704974878).
Please keep in mind that the free version of Portmaster only has community support and inactive issues are automatically closed after a while.
If you find our work brings value to you, please consider supporting it by purchasing Supporter or Unlimited Packages https://safing.io/pricing/.
If you are a customer, first of all: Thank You!
If you want to claim priority support for this issue, please send us a message [on Discord](https://discord.gg/safing) or [via Email](mailto:support@safing.io) with your username and the link to this issue, so we can prioritize accordingly.
pullRequestOpened: >
Thank you for your pull request.
If you have not already, please read our [contribution guideline](https://wiki.safing.io/en/Contribute).
If this change is bigger and you have not discussed it with us, please head over to [Discord](https://discord.gg/safing) to discuss your idea.

74
.github/stale.yml vendored Normal file
View file

@ -0,0 +1,74 @@
# Configuration for probot-stale - https://github.com/probot/stale
# Limit to only `issues` or `pulls`
only: issues
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 21
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- "priority support"
- faq
- dependencies
- pinned
- security
# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false
# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false
# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false
# Label to use when marking as stale
staleLabel: inactive
# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as inactive because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.
# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.
If the issue has not been resolved, you can find more information or continue the conversation here:
- [Docs & FAQ](https://docs.safing.io/)
- [Wiki](https://wiki.safing.io/)
- [Get Help on Discord](https://discord.gg/safing)
Please keep in mind that the free version of Portmaster only has limited support. We can only give so much limited free support.
If you find our work brings value to you, please consider supporting it by purchasing Supporter or Unlimited Packages https://safing.io/pricing/.
If you already are a paying subscriber and want to claim priority support for this issue, please send us a message [on Discord](https://discord.gg/safing) or [via Email](mailto:support@safing.io) with your username and the link to this issue, so we can prioritize accordingly.
# Limit the number of actions per hour, from 1-30. Default is 30
# limitPerRun: 30
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.
# issues:
# exemptLabels:
# - confirmed

View file

@ -1,50 +0,0 @@
name: Issue Manager
on:
workflow_dispatch:
schedule:
- cron: "17 5 * * 1-5" # run at 5:17 on Monday to Friday
# We only use the issue manager for auto-closing, so we only need the cron trigger.
# issue_comment:
# types:
# - created
# - edited
# issues:
# types:
# - labeled
jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.4.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"$schema": "https://raw.githubusercontent.com/tiangolo/issue-manager/master/schema.json",
"waiting for input": {
"delay": "P30DT0H0M0S",
"message": "Auto-closing this issue after waiting for input for a month. If anyone finds the time to provide the requested information, please re-open the issue and we will continue handling it.",
"remove_label_on_comment": true,
"remove_label_on_close": false
},
"waiting for fix confirmation": {
"delay": "P30DT0H0M0S",
"message": "Auto-closing this issue after waiting for a fix confirmation for a month. If anyone still experiences this issue, please re-open the issue with updated information so we can continue working on a fix.",
"remove_label_on_comment": true,
"remove_label_on_close": false
},
"waiting for release": {
"delay": "P3650DT0H0M0S",
"message": "That was 10 years ago, I think we can close this now.",
"remove_label_on_comment": true,
"remove_label_on_close": false
},
"waiting for resources": {
"delay": "P3650DT0H0M0S",
"message": "That was 10 years ago, I think we can close this now.",
"remove_label_on_comment": true,
"remove_label_on_close": false
}
}