We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee244be commit ab7666fCopy full SHA for ab7666f
.github/workflows/push.yml
@@ -12,7 +12,24 @@ jobs:
12
name: Check
13
uses: ./.github/workflows/check.yml
14
permissions: write-all
15
+ check_paths:
16
+ name: Paths Filter
17
+ runs-on: ubuntu-latest
18
+ outputs:
19
+ code_changed: ${{ steps.filter.outputs.code }}
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - id: filter
23
+ uses: dorny/paths-filter@v3
24
+ with:
25
+ filters: |
26
+ code:
27
+ - Makefile
28
+ - 'src/**'
29
+ - 'include/**'
30
build:
31
name: Build
32
+ needs: check_paths
33
+ if: github.event_name != 'push' || needs.check_paths.outputs.code_changed == 'true'
34
uses: ./.github/workflows/build.yml
35
0 commit comments