no need to have two actions triggered by the same event.
we could backport this labeler.yml to LTS branches.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
98b90189791d3f4d2524fd829edb616d0ffd94f7)
---
-name: "Pull Request Labeler"
+name: "Pull Request Triage"
on: pull_request_target
jobs:
- labeler:
+ pr-triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
sync-labels: ''
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ - uses: iyu/actions-milestone@v1
+ with:
+ configuration-path: .github/milestone.yml
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+++ /dev/null
----
-name: "Pull Request Set Milestone"
-on: pull_request_target
-jobs:
- milestone:
- runs-on: ubuntu-latest
- steps:
- - uses: iyu/actions-milestone@v1
- with:
- configuration-path: .github/milestone.yml
- repo-token: "${{ secrets.GITHUB_TOKEN }}"