summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-07-04 20:55:53 +0200
committerMike Yuan <me@yhndnzj.com>2024-07-04 20:55:53 +0200
commit5dfc88c12f541ff11ad53634be9ca40f13423467 (patch)
tree08438a41ea0db7e8e39fbcca68b14b8b839028d6 /.github
parentlabeler: match all mkosi files (diff)
downloadsystemd-5dfc88c12f541ff11ad53634be9ca40f13423467.tar.xz
systemd-5dfc88c12f541ff11ad53634be9ca40f13423467.zip
workflows/labeler: do not set labels on stable backport PRs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/labeler.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index c2d8abd574..2058d22380 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -35,7 +35,7 @@ jobs:
- name: Label PR based on policy in labeler.yml
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
- if: startsWith(github.event_name, 'pull_request') && github.event.action != 'closed'
+ if: startsWith(github.event_name, 'pull_request') && github.base_ref == 'main' && github.event.action != 'closed'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml