-
-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
86 additions
and
50 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
# This workflow responds to first time posters with a greeting message. | ||
# Docs: https://github.com/actions/first-interaction | ||
name: Greet New Users | ||
|
||
# This workflow is triggered when a new issue is created. | ||
on: | ||
issues: | ||
types: opened | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
|
||
jobs: | ||
greet: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# Respond to first time issue raisers. | ||
issue-message: | | ||
Greetings and welcome to our community! As this is the first issue you opened here, we wanted to share some useful infos with you: | ||
- 🗣️ Our community on [Discord](https://discord.gg/safing) is super helpful and active. We also have an AI-enabled support bot that knows Portmaster well and can give you immediate help. | ||
- 📖 The [Wiki](https://wiki.safing.io/) answers all common questions and has many important details. If you can't find an answer there, let us know, so we can add anything that's missing. |
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,22 @@ | ||
# This workflow responds with a message when certain labels are added to an issue or PR. | ||
# Docs: https://github.com/dessant/label-actions | ||
name: Label Actions | ||
|
||
# This workflow is triggered when a label is added to an issue. | ||
on: | ||
issues: | ||
types: labeled | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/label-actions@v3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
config-path: ".github/label-actions.yml" | ||
process-only: "issues" |
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,38 @@ | ||
# This workflow warns and then closes stale issues and PRs. | ||
# Docs: https://github.com/actions/stale | ||
name: Close Stale Issues | ||
|
||
on: | ||
schedule: | ||
- cron: "17 5 * * 1-5" # run at 5:17 (UTC) on Monday to Friday | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v8 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# Handle stale issues | ||
stale-issue-label: 'stale' | ||
# Exemptions | ||
exempt-all-issue-assignees: true | ||
exempt-issue-labels: 'support,dependencies,pinned,security' | ||
# Mark as stale | ||
days-before-issue-stale: 63 # 2 months / 9 weeks | ||
stale-issue-message: | | ||
This issue has been automatically marked as inactive because it has not had activity in the past two months. | ||
If no further activity occurs, this issue will be automatically closed in one week in order to increase our focus on active topics. | ||
# Close | ||
days-before-issue-close: 7 # 1 week | ||
close-issue-message: | | ||
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 in our Wiki](https://wiki.safing.io/) or [continue the conversation on our Discord](https://discord.gg/safing). | ||
# TODO: Handle stale PRs |