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