-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/7080--plt-552
- Loading branch information
Showing
5 changed files
with
83 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
# See https://github.com/actions/labeler | ||
|
||
example: | ||
'pkg: example': | ||
- examples/**/* | ||
|
||
'🚨 action': | ||
- .github/workflows/** | ||
|
||
core: | ||
'pkg: astro': | ||
- packages/astro/** | ||
|
||
create-astro: | ||
'pkg: create-astro': | ||
- packages/create-astro/** | ||
|
||
markdown: | ||
'feat: markdown': | ||
- packages/markdown/** | ||
|
||
integration: | ||
'pkg: integration': | ||
- packages/integrations/** | ||
|
||
framework-lit: | ||
'pkg: lit': | ||
- packages/integrations/lit/** | ||
|
||
framework-preact: | ||
'pkg: preact': | ||
- packages/integrations/preact/** | ||
|
||
framework-react: | ||
'pkg: react': | ||
- packages/integrations/react/** | ||
|
||
framework-solid: | ||
'pkg: solid': | ||
- packages/integrations/solid/** | ||
|
||
framework-svelte: | ||
'pkg: svelte': | ||
- packages/integrations/svelte/** | ||
|
||
framework-vue: | ||
'pkg: vue': | ||
- packages/integrations/vue/** |
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,30 @@ | ||
name: Issue Labeled | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
reply-labeled: | ||
if: github.repository == 'withastro/astro' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: remove triage | ||
if: contains(github.event.label.description, '(priority)') && contains(github.event.issue.labels.*.name, 'needs triage') | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "remove-labels" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
labels: "needs triage" | ||
|
||
- name: needs repro | ||
if: github.event.label.name == '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](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [StackBlitz](https://astro.new). Issues marked with `needs repro` will be closed if they have no activity within 3 days. | ||
labels: "needs 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,18 @@ | ||
name: Close Issues (needs repro) | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
if: github.repository == 'withastro/astro' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: needs repro | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "close-issues" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: "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,23 @@ | ||
name: Label issues | ||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
|
||
jobs: | ||
label_issues: | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'withastro/astro' | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
github.rest.issues.addLabels({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ["needs triage"] | ||
}) |