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: {} inputs: {}
pull_request: pull_request:
branches: [ master ] branches: [ master ]
paths: paths-ignore:
- '!.github/**' - '.github/**'
- '!*.yml' - '*.yml'
- '!*.json' - '*.json'
- '!*.config' - '*.config'
- '!README.md' - 'README.md'
- '.github/workflows/*.yml'
concurrency: concurrency:
group: pr-checks-${{ github.event.number }} group: pr-checks-${{ github.event.number }}

View file

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