mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
workflows/labeler: do not set labels on stable backport PRs
(cherry picked from commit 5dfc88c12f541ff11ad53634be9ca40f13423467)
This commit is contained in:
parent
aa1eb0b066
commit
e8bbe635cd
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user