Skip to content

Commit

Permalink
gh-actions: Build on external PRs
Browse files Browse the repository at this point in the history
And avoid building unnecessarily.

Signed-off-by: Daniel Schaefer <[email protected]>
  • Loading branch information
JohnAZoidberg committed Sep 4, 2023
1 parent ccb5928 commit cf19160
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
name: Firmware CI Checks
name: Firmware Checks

on:
push
push:
branches:
- master
- dev-*
paths-ignore:
- '*.py'
- 'inputmodule-control/**'
pull_request:
branches:
- '*'
paths-ignore:
- '*.py'
- 'inputmodule-control/**'

env:
CARGO_TERM_COLOR: always
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/software.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
name: Software CI Checks
name: Software Checks

on:
push:
branches:
- master
- dev-*
paths-ignore:
- 'b1display/**'
- 'c1minimal/**'
- 'fl16-inputmodules/**'
- 'ledmatrix/**'
pull_request:
branches:
- '*'
paths-ignore:
- 'b1display/**'
- 'c1minimal/**'
- 'fl16-inputmodules/**'
- 'ledmatrix/**'

env:
CARGO_TERM_COLOR: always
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/traditional-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@
name: Traditional Cargo Workflow

on:
push
push:
branches:
- master
- dev-*
paths-ignore:
- '*.py'
pull_request:
branches:
- '*'
paths-ignore:
- '*.py'

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit cf19160

Please sign in to comment.