-
-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: tweak issue template and other workflows (#278)
* ci: update github workflows * chore: update issue template * chore: configure tony19 sponsor * ci: configure semantic pull requests * chore: tweak pending triage label for new bug reports
- Loading branch information
Showing
11 changed files
with
207 additions
and
95 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 was deleted.
Oops, something went wrong.
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,82 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
labels: ["bug", "pending triage"] | ||
assignees: | ||
- tony19 | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks! | ||
placeholder: Bug description | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: reproduction | ||
attributes: | ||
label: Reproduction | ||
description: A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is **required**, otherwise the issue might be closed without further notice. [**Why & How?**](https://antfu.me/posts/why-reproductions-are-required) | ||
placeholder: Reproduction | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs | ||
description: | | ||
Optional if provided reproduction. Please copy-paste the log text (don't insert screenshots of your logs). | ||
Provide the error log here in the format below: | ||
```` | ||
<details> | ||
<summary>Click to expand!</summary> | ||
```shell | ||
// paste the log text here | ||
``` | ||
</details> | ||
```` | ||
- type: input | ||
id: version-logback-android | ||
attributes: | ||
label: logback-android version | ||
description: What version of logback-android are you running? | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: version-os | ||
attributes: | ||
label: OS Version | ||
description: What version of Android are you running? | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: logback-config | ||
attributes: | ||
label: What logback configuration are you using? (logback.xml or Java/Kotlin code) | ||
render: xml | ||
|
||
- type: checkboxes | ||
id: validations | ||
attributes: | ||
label: Validations | ||
description: Before submitting the issue, please make sure you do the following | ||
options: | ||
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. | ||
required: true | ||
- label: Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. | ||
required: true | ||
- label: The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug. | ||
required: true |
Empty file.
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,17 @@ | ||
titleOnly: true | ||
types: | ||
- feat | ||
- fix | ||
- docs | ||
- dx | ||
- refactor | ||
- perf | ||
- test | ||
- workflow | ||
- build | ||
- ci | ||
- chore | ||
- types | ||
- wip | ||
- release | ||
- deps |
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 @@ | ||
name: Issue Close Require | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: need reproduction | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "close-issues" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: "need reproduction" | ||
inactive-day: 3 |
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,49 @@ | ||
name: Issue Labeled | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
reply-labeled: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: contribution welcome | ||
if: github.event.label.name == 'contribution welcome' || github.event.label.name == 'help wanted' | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "create-comment, remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it! | ||
labels: "pending triage, need reproduction" | ||
|
||
- name: remove pending | ||
if: contains(github.event.label.name, 'priority') && contains(github.event.issue.labels.*.name, 'pending triage') | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
labels: "pending triage" | ||
|
||
- name: remove enhancement pending | ||
if: "(github.event.label.name == 'enhancement' || contains(github.event.label.name, 'priority')) && contains(github.event.issue.labels.*.name, 'enhancement: pending triage')" | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
labels: "enhancement: pending triage" | ||
|
||
- name: need reproduction | ||
if: github.event.label.name == 'need reproduction' | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "create-comment, remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository. Issues marked with `need reproduction` will be closed if they have no activity within 3 days. | ||
labels: "pending triage" |
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,23 @@ | ||
name: Lock Closed Issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
action: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@v3 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-inactive-days: "14" | ||
#issue-comment: | | ||
# This issue has been locked since it has been closed for more than 14 days. | ||
# | ||
# If you have found a concrete bug or regression related to it, please open a new [bug report](https://github.com/vitejs/vite/issues/new/choose) with a reproduction against the latest Vite version. If you have any other comments you should join the chat at [Vite Land](https://chat.vitejs.dev) or create a new [discussion](https://github.com/vitejs/vite/discussions). | ||
issue-lock-reason: "" | ||
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,18 @@ | ||
name: Semantic Pull Request | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
name: Semantic Pull Request | ||
steps: | ||
- name: Validate PR title | ||
uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |