You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/07/02 15:22:40 UTC
(datafusion-sqlparser-rs) 01/01: CI: Add cargo audit security workflow (#2373)
This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-2373-be95cf6e5654fcbf2ac6aa6aa9ef9e8069cc550e
in repository https://gitbox.apache.org/repos/asf/datafusion-sqlparser-rs.git
commit 5e7b0076339e2c7254a7819acb153b788c0c5256
Author: Luca Cappelletti <ca...@gmail.com>
AuthorDate: Thu Jul 2 17:22:14 2026 +0200
CI: Add cargo audit security workflow (#2373)
---
.github/workflows/audit.yml | 48 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml
new file mode 100644
index 00000000..51e32d67
--- /dev/null
+++ b/.github/workflows/audit.yml
@@ -0,0 +1,48 @@
+# 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: Security audit
+
+on:
+ push:
+ branches-ignore:
+ - 'gh-readonly-queue/**'
+ paths:
+ - '**/Cargo.toml'
+ - '**/Cargo.lock'
+ pull_request:
+ paths:
+ - '**/Cargo.toml'
+ - '**/Cargo.lock'
+ merge_group:
+ schedule:
+ # Run every day so newly published advisories are caught even when the
+ # dependency tree has not changed.
+ - cron: '0 0 * * *'
+
+permissions:
+ contents: read
+
+jobs:
+ audit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Install cargo-audit
+ run: cargo install cargo-audit --locked
+ - name: Run cargo audit
+ run: cargo audit --deny warnings
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org