0
0
Fork 0

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
parent 5bd2c58ad6
commit 4a27d29412
2 changed files with 10 additions and 15 deletions

View file

@ -5,13 +5,12 @@ on:
inputs: {}
pull_request:
branches: [ master ]
paths:
- '!.github/**'
- '!*.yml'
- '!*.json'
- '!*.config'
- '!README.md'
- '.github/workflows/*.yml'
paths-ignore:
- '.github/**'
- '*.yml'
- '*.json'
- '*.config'
- 'README.md'
concurrency:
group: pr-checks-${{ github.event.number }}

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'