If there is a Pipfile or .python-version file, trigger discovery when autoselecting
#9340
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: '["karrtikr","karthiknadig","paulacamargo25","eleanorjboyd", "brettcannon","anthonykim1"]' | |
| permissions: | |
| issues: write | |
| jobs: | |
| add_label: | |
| runs-on: ubuntu-latest | |
| if: contains(github.event.issue.labels.*.name, 'triage-needed') && !contains(github.event.issue.labels.*.name, 'info-needed') | |
| steps: | |
| - name: Checkout Actions | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'microsoft/vscode-github-triage-actions' | |
| ref: stable | |
| path: ./actions | |
| - 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 | |
| steps: | |
| - name: Checkout Actions | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'microsoft/vscode-github-triage-actions' | |
| ref: stable | |
| path: ./actions | |
| - 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}} |