Copy python files to avoid junction issues #51863
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 complexity label" | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| branches: | |
| - main | |
| - "[0-9]+.[0-9]+.x" | |
| pull_request_review_comment: | |
| types: [created, deleted] | |
| permissions: {} | |
| jobs: | |
| codereview-complexity: | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| permissions: | |
| pull-requests: write | |
| if: github.event.pull_request.head.repo.full_name == github.repository # Run only on non-fork PRs | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install dda | |
| uses: ./.github/actions/install-dda | |
| with: | |
| features: legacy-tasks | |
| - name: Check code review complexity | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: dda inv -- -e github.assign-codereview-label --pr-id="$PR_NUMBER" |