Skip to content

Commit

Permalink
Don't run CI unless there are salient code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bifurcation committed Oct 31, 2024
1 parent 7d94b14 commit 1fcf2b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ on:
push:
branches:
- main
paths:
- **/src/**
- **/include/**
- **/test/**
pull_request:
branches:
- main
paths:
- **/src/**
- **/include/**
- **/test/**

env:
CMAKE_BUILD_PARALLEL_LEVEL: 3
Expand Down Expand Up @@ -119,6 +127,14 @@ jobs:
CRYPTO_DIR: "./alternatives/${{ matrix.crypto }}"

steps:
# Only run non-OpenSSL 3 libraries if there's a change in the HPKE code
- uses: dorny/paths-filter@v3
if: matrix.crypto != "openssl_3"
with:
filters: |
src:
- 'lib/hpke/**'
- uses: actions/checkout@v4
with:
submodules: recursive
Expand Down

0 comments on commit 1fcf2b5

Please sign in to comment.