Remove PR auto-labels when not relevant anymore
| @@ -46,6 +46,7 @@ jobs: | ||
| 46 | 46 | uses: actions/labeler@v5 |
| 47 | 47 | with: |
| 48 | 48 | configuration-path: .github/pr-auto-labels-by-branch.yml |
| 49 | + sync-labels: true # Remove labels when they are not relevant anymore | |
| 49 | 50 | repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} |
| 50 | 51 | |
| 51 | 52 | label-by-files: |
| @@ -59,6 +60,7 @@ jobs: | ||
| 59 | 60 | uses: actions/labeler@v5 |
| 60 | 61 | with: |
| 61 | 62 | configuration-path: .github/pr-auto-labels-by-files.yml |
| 63 | + sync-labels: true # Remove labels when they are not relevant anymore | |
| 62 | 64 | repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} |
| 63 | 65 | |
| 64 | 66 | remove-stale-label: |