]> git.proxmox.com Git - ceph.git/blame - ceph/.github/workflows/pr-triage.yml
import ceph quincy 17.2.1
[ceph.git] / ceph / .github / workflows / pr-triage.yml
CommitLineData
cd265ab1
TL
1---
2name: "Pull Request Triage"
3on: pull_request_target
a4b75251
TL
4env:
5 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
cd265ab1
TL
6jobs:
7 pr-triage:
8 runs-on: ubuntu-latest
9 steps:
a4b75251
TL
10 - name: Assign labels based on modified files
11 uses: actions/labeler@9794b1493b6f1fa7b006c5f8635a19c76c98be95
cd265ab1
TL
12 with:
13 sync-labels: ''
14 repo-token: "${{ secrets.GITHUB_TOKEN }}"
33c7a0ef
TL
15 - name: Assign to Dashboard project
16 uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1
17 if: contains(github.event.pull_request.labels.*.name, 'dashboard')
18 with:
19 project: https://github.com/ceph/ceph/projects/6
a4b75251
TL
20 - name: Assign milestone based on target brach name
21 uses: iyu/actions-milestone@dbf7e5348844c9ddc6b803a5721b85fa70fe3bb9
cd265ab1
TL
22 with:
23 configuration-path: .github/milestone.yml
24 repo-token: "${{ secrets.GITHUB_TOKEN }}"