infra: Sync paths-ignore with release job and attempt to fix review assign

This commit is contained in:
Mary 2023-06-13 11:51:22 +02:00 committed by TSR Berry
parent e4a0afce31
commit fa64c04c48
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2

View file

@ -1,13 +1,16 @@
name: "Pull Request Triage"
on:
pull_request_target:
types: [opened, ready_for_review]
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Update labels based on changes
uses: actions/labeler@v4
@ -19,40 +22,33 @@ jobs:
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/audio.yml'
if: github.event.action == 'opened'
- name: Auto Assign [CPU]
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/cpu.yml'
if: github.event.action == 'opened'
- name: Auto Assign [GPU]
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/gpu.yml'
if: github.event.action == 'opened'
- name: Auto Assign [GUI]
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/gui.yml'
if: github.event.action == 'opened'
- name: Auto Assign [Horizon]
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/horizon.yml'
if: github.event.action == 'opened'
- name: Auto Assign [Infra]
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/infra.yml'
if: github.event.action == 'opened'
- name: Auto Assign [Global]
uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/assign/global.yml'
if: github.event.action == 'opened'
configuration-path: '.github/assign/global.yml'