From 0907c0deb7afcc4738b53be37c06c31f2a3e80ca Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Fri, 13 Oct 2023 15:40:46 +0200 Subject: [PATCH] DEV: Update labeler for migration related code This activates the `sync-labels` flag which causes the removal of labels when matching files are reverted or no longer changed by the PR. --- .github/labeler.yml | 3 +++ .github/workflows/labeler.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index a7d0c1c2661..41e7f5430ba 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,5 @@ chat: - plugins/chat/**/* + +migration: + - migrations/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index b308d844199..8f27f95be9e 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -15,3 +15,4 @@ jobs: - uses: actions/labeler@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + sync-labels: true