ci: reduce cargo feature check run
Cargo feature check should only run if there are changes to our rust
crates or if merged to develop
name: Ockam Features Check
-on: pull_request
+on:
+ workflow_dispatch:
+ pull_request:
+ # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths
+ paths:
+ - 'implementations/rust/ockam/**'
+ push:
+ # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths
+ branches:
+ - develop
jobs:
check_features:
