-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
1 parent
061d997
commit b5a230e
Showing
10 changed files
with
140 additions
and
4 deletions.
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
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
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
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
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,25 @@ | ||
labels: | ||
- name: bug | ||
labeled: | ||
issue: | ||
body: Thanks for reporting! | ||
- name: feature | ||
labeled: | ||
issue: | ||
body: Thanks for the suggestion! | ||
- name: feature-long-term | ||
labeled: | ||
issue: | ||
body: Thanks for the suggestion! | ||
- name: performance | ||
labeled: | ||
issue: | ||
body: Thanks for reporting! | ||
- name: question | ||
labeled: | ||
issue: | ||
body: Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our [Discord server](https://discord.gg/9yDxubB). | ||
- name: invalid-template | ||
labeled: | ||
issue: | ||
body: '@{{ issue.user.login }} Your issue appears to be not following one of the allowed issue templates, which breaks our automation tools. Please update your issue to the proper template.' |
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,17 @@ | ||
bug: | ||
- '- :bug: Bug' | ||
feature-long-term: | ||
- '- :heavy_plus_sign: Feature request' | ||
performance: | ||
- '- :snail: Performance issue' | ||
question: | ||
- '- :question: Question' | ||
|
||
mc-1.12: | ||
- 'Minecraft: 1.12' | ||
mc-1.14: | ||
- 'Minecraft: 1.14' | ||
mc-1.15: | ||
- 'Minecraft: 1.15' | ||
mc-1.16: | ||
- 'Minecraft: 1.16' |
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,24 @@ | ||
name: "Close issues that received no response" | ||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
stale-issue-label: "more-information-needed" | ||
stale-issue-message: 'This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we do not have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.' | ||
days-before-close: 14 | ||
days-before-stale: -1 | ||
- uses: actions/stale@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
only-labels: "invalid-template" | ||
stale-issue-label: "invalid-template" | ||
stale-issue-message: 'This issue has been automatically closed because it does not follow the issue template. Feel free to recreate this issue' | ||
days-before-close: 7 | ||
days-before-stale: -1 |
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,14 @@ | ||
name: "Comment on issues by label" | ||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
comment: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: peaceiris/actions-label-commenter@v1 | ||
with: | ||
github_token: ${{ secrets.PAT }} | ||
config_file: .github/issue-commenter.yml |
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,42 @@ | ||
name: "Add labeled issues to project board" | ||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
env: | ||
MY_GITHUB_TOKEN: ${{ secrets.PAT }} | ||
|
||
jobs: | ||
assign: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Maintenance Issues | ||
uses: srggrs/[email protected] | ||
if: | | ||
contains(github.event.issue.labels.*.name, 'bug') || | ||
contains(github.event.issue.labels.*.name, 'performance') || | ||
contains(github.event.issue.labels.*.name, 'question') | ||
with: | ||
project: 'https://github.com/orgs/CyclopsMC/projects/1' | ||
column_name: 'To Do' | ||
- name: Feature Optional | ||
uses: srggrs/[email protected] | ||
if: | | ||
contains(github.event.issue.labels.*.name, 'feature-long-term') | ||
with: | ||
project: 'https://github.com/orgs/CyclopsMC/projects/2' | ||
column_name: 'Options' | ||
- name: Feature Accepted | ||
uses: srggrs/[email protected] | ||
if: | | ||
contains(github.event.issue.labels.*.name, 'feature') | ||
with: | ||
project: 'https://github.com/orgs/CyclopsMC/projects/2' | ||
column_name: 'Accepted (To Do)' | ||
- name: More Information Needed | ||
uses: srggrs/[email protected] | ||
if: | | ||
contains(github.event.issue.labels.*.name, 'more-information-needed') | ||
with: | ||
project: 'https://github.com/orgs/CyclopsMC/projects/1' | ||
column_name: 'On hold (awaiting input)' |
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,14 @@ | ||
name: "Label new issues" | ||
on: | ||
issues: | ||
types: [opened, edited] | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: github/[email protected] | ||
with: | ||
repo-token: "${{ secrets.PAT }}" | ||
configuration-path: .github/labeler.yml | ||
enable-versioned-regex: 0 |