Improve pytest detection using PYTEST_CURRENT_TEST
#18724
Workflow file for this run
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: PR Labeler | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| jobs: | |
| assign-labels: | |
| if: github.repository == 'pyg-team/pytorch_geometric' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Add PR labels | |
| uses: actions/labeler@v6 | |
| continue-on-error: true | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| sync-labels: true | |
| assign-author: | |
| if: github.repository == 'pyg-team/pytorch_geometric' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add PR author | |
| uses: samspills/[email protected] | |
| continue-on-error: true | |
| if: github.event_name == 'pull_request' | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" |