Fix Triton import failed torch-sim (TS) CI. Clean TS interface to avoid for loop and ase. #5580
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 versioning label checking | |
| on: | |
| pull_request: | |
| types: [opened, labeled, unlabeled, synchronize] | |
| jobs: | |
| check-labels: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Labels not added (patch, minor, major, dependencies) | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, 'patch') == false && | |
| contains(github.event.pull_request.labels.*.name, 'minor') == false && | |
| contains(github.event.pull_request.labels.*.name, 'major') == false && | |
| contains(github.event.pull_request.labels.*.name, 'no-op') == false | |
| run: exit 1 | |
| - name: Labels not added (enhancement,bug,test,deprecation,dependencies,documentation,deprecation) | |
| if: > | |
| contains(github.event.pull_request.labels.*.name, 'enhancement') == false && | |
| contains(github.event.pull_request.labels.*.name, 'bug') == false && | |
| contains(github.event.pull_request.labels.*.name, 'test') == false && | |
| contains(github.event.pull_request.labels.*.name, 'deprecation') == false && | |
| contains(github.event.pull_request.labels.*.name, 'dependencies') == false && | |
| contains(github.event.pull_request.labels.*.name, 'documentation') == false && | |
| contains(github.event.pull_request.labels.*.name, 'refactor') == false | |
| run: exit 1 |