-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
5 changed files
with
56 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Close issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
if: github.repository == 'biomejs/biome' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close issue without reproduction | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "close-issues" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: "S-Needs repro" | ||
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,35 @@ | ||
name: Needs reproduction | ||
|
||
on: | ||
issues: | ||
types: [ labeled ] | ||
|
||
jobs: | ||
reply-labeled: | ||
if: github.repository == 'biomejs/biome' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Remove triaging label | ||
if: contains(github.event.issue.labels.*.name, 'S-Bug-confirmed') && contains(github.event.issue.labels.*.name, 'S-Needs triage') | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
labels: "S-Needs triage" | ||
|
||
- name: Needs reproduction | ||
if: github.event.label.name == 'S-Needs repro' | ||
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. You can use one of the following options: | ||
- Provide a link to [our playground](https://biomejs.dev/playground), if it's applicable. | ||
- Provide a link to GitHub repository. To easily create a reproduction, you can use our interactive CLI via `npm create @biomejs/biome-reproduction` | ||
Issues marked with `S-Needs repro` will be **closed** if they have **no activity within 3 days**. | ||
labels: "S-Needs triage" |