enhance(device-plugin): pair NVML init and shutdown on the MIG manager session #8836
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: 'issue-translate' | |
| on: | |
| issue_comment: | |
| types: [created] | |
| issues: | |
| types: [opened] | |
| permissions: | |
| issues: write | |
| jobs: | |
| translate: # make sure the action works on a clean machine without building | |
| if: >- | |
| github.event_name == 'issues' || | |
| ( | |
| github.event_name == 'issue_comment' && | |
| github.event.comment.user.type != 'Bot' && | |
| !startsWith(github.event.comment.body, '/') | |
| ) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: tomsun28/issues-translate-action@b41f55ddc81d7d54bd542a4f289fe28ec081898e # v2.7 | |
| with: | |
| IS_MODIFY_TITLE: true | |
| BOT_GITHUB_TOKEN: ${{ secrets.TRANSLATE_ROBOT_TOKEN }} |