| 13 | jobs: | 13 | jobs: |
| 14 | label-by-size: | 14 | label-by-size: |
| 15 | name: 🏷️ Label PR by Size | 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 | runs-on: ubuntu-latest | 18 | runs-on: ubuntu-latest |
| 17 | # Only needs to run when code is changed | 19 | # Only needs to run when code is changed |
| 18 | if: github.event.action == 'opened' || github.event.action == 'synchronize' | 20 | if: always() && (github.event.action == 'opened' || github.event.action == 'synchronize') |
| 19 | | 21 | |
| 20 | # Override permissions, the labeler needs issues write access | 22 | # Override permissions, the labeler needs issues write access |
| 21 | permissions: | 23 | permissions: |