mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
b5ad8cb325
Signed-off-by: Laura Flores <lflores@ibm.com>
29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
---
|
|
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=v5.0.0
|
|
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
|
|
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@31b3f3ccdc584546fc445612dec3f38ff5edb41c
|
|
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 }}"
|