]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
github/labeler: disable sync-labels
authorErnesto Puerta <epuertat@redhat.com>
Wed, 18 Nov 2020 12:00:00 +0000 (13:00 +0100)
committerKefu Chai <kchai@redhat.com>
Mon, 8 Mar 2021 19:53:16 +0000 (03:53 +0800)
Yaml syntax cleaned too.

Fixes: https://github.com/ceph/ceph/pull/38107#issuecomment-729300615
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 59702b6198c59b84f1695e37256ae351b331b604)

.github/workflows/labeler.yml

index 23956a02fbdce28965ed47010d0441a12bea2b79..635b7757d984c56647936cac7a9f561a96368651 100644 (file)
@@ -1,11 +1,11 @@
+---
 name: "Pull Request Labeler"
-on:
-- pull_request_target
-
+on: pull_request_target
 jobs:
-  triage:
+  labeler:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/labeler@main
-      with:
-        repo-token: "${{ secrets.GITHUB_TOKEN }}"
+      - uses: actions/labeler@main
+        with:
+          sync-labels: ''
+          repo-token: "${{ secrets.GITHUB_TOKEN }}"