-
Notifications
You must be signed in to change notification settings - Fork 7
28 lines (28 loc) · 1.13 KB
/
pr-triage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
name: "Pull Request Triage"
on: pull_request_target
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
pr-triage:
runs-on: ubuntu-latest
steps:
- name: Assign labels based on modified files
# https://github.com/marketplace/actions/labeler?version=v4.0.2
uses: actions/labeler@5c7539237e04b714afd8ad9b4aed733815b9fab4
with:
sync-labels: ''
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Assign to Dashboard project
# https://github.com/marketplace/actions/add-to-github-projects?version=v0.5.0
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e
with:
project-url: https://github.com/orgs/ceph/projects/2
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: dashboard
- name: Assign milestone based on target brach name
# https://github.com/marketplace/actions/pull-request-milestone?version=v1.3.0
uses: iyu/actions-milestone@e93115c90ff7bcddee71086e9253f1b6a5f4b48a
with:
configuration-path: .github/milestone.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"