From a79a78b7160c6aec436978d598c5019b7acb183e Mon Sep 17 00:00:00 2001 From: comphead Date: Mon, 22 Sep 2025 15:00:45 -0700 Subject: [PATCH 1/4] chore: add validate_workflows.yml --- .github/workflows/validate_workflows.yml | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/validate_workflows.yml diff --git a/.github/workflows/validate_workflows.yml b/.github/workflows/validate_workflows.yml new file mode 100644 index 0000000000..8217bc3e56 --- /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@v3 + + - 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 From 65c84e9ea8674545c908262e00979114df3f5b88 Mon Sep 17 00:00:00 2001 From: comphead Date: Mon, 22 Sep 2025 15:12:11 -0700 Subject: [PATCH 2/4] chore: add validate_workflows.yml --- .github/workflows/validate_workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_workflows.yml b/.github/workflows/validate_workflows.yml index 8217bc3e56..c6900e5a98 100644 --- a/.github/workflows/validate_workflows.yml +++ b/.github/workflows/validate_workflows.yml @@ -38,4 +38,4 @@ jobs: echo "$PWD" >> $GITHUB_PATH - name: Lint GitHub Actions workflows - run: actionlint -color + run: actionlint -color --shellcheck=off From 4ee5c93f5d4d6db09f343849e45596fe06923316 Mon Sep 17 00:00:00 2001 From: comphead Date: Mon, 22 Sep 2025 15:13:17 -0700 Subject: [PATCH 3/4] chore: add validate_workflows.yml --- .github/workflows/validate_workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_workflows.yml b/.github/workflows/validate_workflows.yml index c6900e5a98..f136e00c7b 100644 --- a/.github/workflows/validate_workflows.yml +++ b/.github/workflows/validate_workflows.yml @@ -30,7 +30,7 @@ jobs: validate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - name: Install actionlint run: | From b535c8d289878c4d3f61e2a18b10e5cceb23ee15 Mon Sep 17 00:00:00 2001 From: comphead Date: Mon, 22 Sep 2025 15:19:44 -0700 Subject: [PATCH 4/4] chore: add validate_workflows.yml --- .github/actions/rust-test/action.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/rust-test/action.yaml b/.github/actions/rust-test/action.yaml index 4a4b7399f5..bc76319034 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"