Remove PR auto-labels when not relevant anymore

166b404ea706fe24af4dfa2c95622b72a10600d8

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +2 -0Showing whitespace changes
.github/workflows/pr-auto-manager.yml+2 -0
@@ -46,6 +46,7 @@ jobs:
4646 uses: actions/labeler@v5
4747 with:
4848 configuration-path: .github/pr-auto-labels-by-branch.yml
49+ sync-labels: true # Remove labels when they are not relevant anymore
4950 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
5051
5152 label-by-files:
@@ -59,6 +60,7 @@ jobs:
5960 uses: actions/labeler@v5
6061 with:
6162 configuration-path: .github/pr-auto-labels-by-files.yml
63+ sync-labels: true # Remove labels when they are not relevant anymore
6264 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
6365
6466 remove-stale-label: