You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by co...@apache.org on 2025/09/22 23:59:04 UTC

(datafusion-comet) branch main updated: chore: add validate_workflows.yml (#2441)

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

comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git


The following commit(s) were added to refs/heads/main by this push:
     new 91bbf63c3 chore: add validate_workflows.yml (#2441)
91bbf63c3 is described below

commit 91bbf63c375322aacf1df03ab3c3524ed323cc9f
Author: Oleks V <co...@users.noreply.github.com>
AuthorDate: Mon Sep 22 16:58:58 2025 -0700

    chore: add validate_workflows.yml (#2441)
    
    * chore: add validate_workflows.yml
---
 .github/actions/rust-test/action.yaml    |  2 ++
 .github/workflows/validate_workflows.yml | 41 ++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/.github/actions/rust-test/action.yaml b/.github/actions/rust-test/action.yaml
index 4a4b7399f..bc7631903 100644
--- a/.github/actions/rust-test/action.yaml
+++ b/.github/actions/rust-test/action.yaml
@@ -15,6 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 
+name: "Rust Test"
+description: "Run Rust tests"
 
 runs:
   using: "composite"
diff --git a/.github/workflows/validate_workflows.yml b/.github/workflows/validate_workflows.yml
new file mode 100644
index 000000000..f136e00c7
--- /dev/null
+++ b/.github/workflows/validate_workflows.yml
@@ -0,0 +1,41 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Validate Github Workflows
+
+on:
+  pull_request:
+    paths:
+      - ".github/workflows/*.yml"
+      - ".github/workflows/*.yaml"
+  push:
+    branches:
+      - main
+
+jobs:
+  validate:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v5
+
+      - name: Install actionlint
+        run: |
+          curl -sSfL https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash | bash
+          echo "$PWD" >> $GITHUB_PATH
+
+      - name: Lint GitHub Actions workflows
+        run: actionlint -color --shellcheck=off


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org