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