[BUG] put_edge lock leak on exception path — raw lock/unlock instead of RAII #233
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: Auto-triage new issue | |
| on: | |
| issues: | |
| types: [opened] | |
| permissions: | |
| issues: write | |
| contents: read | |
| concurrency: | |
| group: triage-${{ github.event.issue.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| triage: | |
| runs-on: [self-hosted, Linux, X64] | |
| if: | | |
| github.event.issue.state == 'open' && | |
| contains('OWNER,MEMBER,COLLABORATOR', github.event.issue.author_association) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install deps | |
| run: pip install --quiet pyyaml requests | |
| - name: Run triage | |
| env: | |
| DASHSCOPE_API_KEY: ${{ secrets.DASHSCOPE_API_KEY }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_EVENT_PATH: ${{ github.event_path }} | |
| CONFIG_PATH: .github/issue-triage-config.yml | |
| QWEN_MODEL: ${{ vars.QWEN_MODEL || 'qwen-plus' }} | |
| run: python .github/scripts/triage_issue.py |