aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml13
-rw-r--r--.github/workflows/pr_triage.yml12
2 files changed, 10 insertions, 15 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 886bb044..bf8fd000 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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 }}
diff --git a/.github/workflows/pr_triage.yml b/.github/workflows/pr_triage.yml
index 27a00f10..e32dd27a 100644
--- a/.github/workflows/pr_triage.yml
+++ b/.github/workflows/pr_triage.yml
@@ -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' \ No newline at end of file
+ configuration-path: '.github/assign/global.yml' \ No newline at end of file