| 13 | 13 | jobs: |
| 14 | 14 | label-by-size: |
| 15 | 15 | name: 🏷️ Label PR by Size |
| 16 | + # This job should run after all others, to prevent possible concurrency issues |
| 17 | + needs: [label-by-branches, label-by-files, remove-stale-label, check-merge-blocking-labels, write-auto-comments] |
| 16 | 18 | runs-on: ubuntu-latest |
| 17 | 19 | # Only needs to run when code is changed |
| 18 | 20 | if: always() && (github.event.action == 'opened' || github.event.action == 'synchronize') |
| 19 | 21 | |
| 20 | 22 | # Override permissions, the labeler needs issues write access |
| 21 | 23 | permissions: |