打开扩展报错,提示环境问题 #1964
This file contains hidden or 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: Triage "info-needed" label | |
| on: | |
| issue_comment: | |
| types: [created] | |
| env: | |
| TRIAGERS: '["karthiknadig","eleanorjboyd","anthonykim1"]' | |
| jobs: | |
| add_label: | |
| if: contains(github.event.issue.labels.*.name, 'triage-needed') && !contains(github.event.issue.labels.*.name, 'info-needed') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Checkout Actions | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'microsoft/vscode-github-triage-actions' | |
| ref: stable | |
| path: ./actions | |
| persist-credentials: false | |
| - name: Install Actions | |
| run: npm install --production --prefix ./actions | |
| - name: Add "info-needed" label | |
| uses: ./actions/python-triage-info-needed | |
| with: | |
| triagers: ${{ env.TRIAGERS }} | |
| action: 'add' | |
| token: ${{secrets.GITHUB_TOKEN}} | |
| remove_label: | |
| if: contains(github.event.issue.labels.*.name, 'info-needed') && contains(github.event.issue.labels.*.name, 'triage-needed') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Checkout Actions | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'microsoft/vscode-github-triage-actions' | |
| ref: stable | |
| path: ./actions | |
| persist-credentials: false | |
| - name: Install Actions | |
| run: npm install --production --prefix ./actions | |
| - name: Remove "info-needed" label | |
| uses: ./actions/python-triage-info-needed | |
| with: | |
| triagers: ${{ env.TRIAGERS }} | |
| action: 'remove' | |
| token: ${{secrets.GITHUB_TOKEN}} |