ci: ignore draft PR add add backport labels (#382)

* ci: skip draft PR

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>

* ci: fix auto assign

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>

* ci: add backport label

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>

* fix: remove token

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>

---------

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
Yiya Chen
2025-07-09 11:34:30 +08:00
committed by GitHub
parent 85a06feb91
commit ee28697161
2 changed files with 40 additions and 8 deletions
+5 -4
View File
@@ -1,4 +1,4 @@
name: "[PR Management] Auto Assign Reviewer"
name: "[PR Management] Auto Assign Reviewer & Assignee"
on:
pull_request_target:
@@ -9,8 +9,9 @@ permissions:
jobs:
auto-assign:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: rancher/gh-issue-mgr/auto-assign-action@main
with:
configuration-path: .github/auto-assign-config.yaml
- uses: rancher/gh-issue-mgr/auto-assign-action@main
with:
configuration-path: .github/auto-assign-config.yaml