We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 556e2f7 commit 4d41e8eCopy full SHA for 4d41e8e
.github/workflows/ci.yaml
@@ -20,8 +20,30 @@ on:
20
pull_request:
21
name: ci
22
jobs:
23
+ bulk-filter:
24
+ runs-on: ubuntu-latest
25
+ permissions:
26
+ pull-requests: read
27
+ # Set job outputs to values from filter step
28
+ outputs:
29
+ src: ${{ steps.filter.outputs.src }}
30
+ ci: ${{ steps.filter.outputs.ci }}
31
+ steps:
32
+ - uses: actions/checkout@v4
33
+ - uses: dorny/paths-filter@v3
34
+ id: filter
35
+ with:
36
+ filters: |
37
+ src:
38
+ - '**/*.java'
39
+ - '**/pom.xml'
40
+ ci:
41
+ - '.github/workflows/**'
42
+ - '.kokoro/**'
43
units:
44
runs-on: ubuntu-latest
45
+ needs: bulk-filter
46
+ if: ${{ needs.bulk-filter.outputs.src == 'true' }}
47
strategy:
48
fail-fast: false
49
matrix:
0 commit comments