mirror of
https://github.com/ceph/ceph
synced 2025-01-08 20:21:33 +00:00
b6791ee09a
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
26 lines
947 B
YAML
26 lines
947 B
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
|
|
uses: actions/labeler@9794b1493b6f1fa7b006c5f8635a19c76c98be95
|
|
with:
|
|
sync-labels: ''
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
- name: Assign milestone based on target brach name
|
|
uses: iyu/actions-milestone@dbf7e5348844c9ddc6b803a5721b85fa70fe3bb9
|
|
with:
|
|
configuration-path: .github/milestone.yml
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
continue-on-error: true
|
|
- name: Assign to Dashboard project
|
|
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1
|
|
if: contains(github.event.pull_request.labels.*.name, 'dashboard')
|
|
with:
|
|
project: https://github.com/ceph/ceph/projects/6
|