You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by xu...@apache.org on 2023/01/29 10:58:28 UTC

[arrow-datafusion] branch master updated: ci: don't trigger rust ci for doc changes (#5097)

This is an automated email from the ASF dual-hosted git repository.

xudong963 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 842bda315 ci: don't trigger rust ci for doc changes (#5097)
842bda315 is described below

commit 842bda3153f17f648a66449bdfa8d262fa3bece0
Author: xudong.w <wx...@gmail.com>
AuthorDate: Sun Jan 29 18:58:22 2023 +0800

    ci: don't trigger rust ci for doc changes (#5097)
---
 .github/workflows/rust.yml            | 9 ++++++++-
 docs/source/user-guide/expressions.md | 4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 5e6233369..8a59cae01 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -22,9 +22,16 @@ concurrency:
   cancel-in-progress: true
 
 on:
-  # always trigger on PR
   push:
+    paths-ignore:
+      - "docs/**"
+      - "**.md"
+      - ".github/**"
   pull_request:
+    paths-ignore:
+      - "docs/**"
+      - "**.md"
+      - ".github/**"
   # manual trigger
   # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
   workflow_dispatch:
diff --git a/docs/source/user-guide/expressions.md b/docs/source/user-guide/expressions.md
index 5dc3520d1..9bb4af2ea 100644
--- a/docs/source/user-guide/expressions.md
+++ b/docs/source/user-guide/expressions.md
@@ -25,8 +25,8 @@ available for creating logical expressions. These are documented below.
 Expressions can be chained together using a fluent-style API:
 
 ```rust
-// create the expression `(a > 5) AND (b < 7)`
-col("a").gt(lit(5)).and(col("b").lt(lit(7)))
+// create the expression `(a > 6) AND (b < 7)`
+col("a").gt(lit(6)).and(col("b").lt(lit(7)))
 ```
 
 ## Identifiers