summaryrefslogtreecommitdiff
path: root/.github/workflows/build_riscv.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build_riscv.yml')
-rw-r--r--.github/workflows/build_riscv.yml16
1 files changed, 12 insertions, 4 deletions
diff --git a/.github/workflows/build_riscv.yml b/.github/workflows/build_riscv.yml
index 18e952d92..257050a53 100644
--- a/.github/workflows/build_riscv.yml
+++ b/.github/workflows/build_riscv.yml
@@ -1,11 +1,19 @@
name: Build RISC-V
on:
- pull_request:
push:
- release:
- types:
- - created
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
+ pull_request:
+ branches: [ master ]
+ paths:
+ - 'src'
+ - 'examples'
+ - 'lib'
+ - 'hw'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}