Optimize bundle for Object.keys(import.meta.glob())
and Object.values(import.meta.glob())
#12227
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
name: Issue Labeled | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
reply-labeled: | |
if: github.repository == 'vitejs/vite' | |
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: "remove-labels" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
issue-number: ${{ github.event.issue.number }} | |
labels: "pending triage, needs reproduction" | |
- name: remove pending | |
if: contains(github.event.label.description, '(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.description, '(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: needs reproduction | |
if: github.event.label.name == 'needs 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 or [StackBlitz](https://vite.new). Issues marked with `needs reproduction` will be closed if they have no activity within 3 days. | |
labels: "pending triage" |