aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/sanitizer.yml
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-21 17:20:49 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-21 17:20:49 -0800
commit2d39d4966a0f10ee4e28a9495ae01ca319a34a35 (patch)
treeb7b966458c04d28c368942e0ec60aeb1e67f830e /.github/workflows/sanitizer.yml
parent22058ccca9f1573b7deb263dc7a8dc3e7d5b76c2 (diff)
downloadnng-2d39d4966a0f10ee4e28a9495ae01ca319a34a35.tar.gz
nng-2d39d4966a0f10ee4e28a9495ae01ca319a34a35.tar.bz2
nng-2d39d4966a0f10ee4e28a9495ae01ca319a34a35.zip
workflows: only generate docs when appropriate, and don't do tests when only docs change
Diffstat (limited to '.github/workflows/sanitizer.yml')
-rw-r--r--.github/workflows/sanitizer.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/sanitizer.yml b/.github/workflows/sanitizer.yml
index e0d9c579..f7c37be3 100644
--- a/.github/workflows/sanitizer.yml
+++ b/.github/workflows/sanitizer.yml
@@ -1,5 +1,9 @@
name: sanitize
-on: [push, pull_request]
+on:
+ push:
+ paths-ignore: ["docs/**", "**.adoc", "**.md"]
+ pull_request:
+ paths-ignore: ["docs/**", "**.adoc", "**.md"]
jobs:
sanitize:
env:
@@ -9,8 +13,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- sanitizer: [ address, undefined, thread ]
- os: [ ubuntu-latest ]
+ sanitizer: [address, undefined, thread]
+ os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1