Files
openobserve/.github/workflows/audit-checker.yml
T
dependabot[bot] 859bc70a46 chore(deps): bump taiki-e/install-action from 2.87.31 to 2.89.0 (#16273)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-04 04:57:14 +00:00

37 lines
1.3 KiB
YAML

name: Security audit
on:
# Advisories only matter when the dependency set changes, so PR runs are path-filtered to the
# Cargo manifests; the weekly run catches advisories published against unchanged deps.
pull_request:
types: [opened, reopened, synchronize, labeled, unlabeled, ready_for_review, converted_to_draft]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/audit-checker.yml"
schedule:
- cron: "0 3 * * 1"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
security_audit:
# Nothing runs on a PR without the 'ready-for-ci' label, or on a draft; ci-gate alone reports the state.
if: ${{ github.event_name != 'pull_request' || (contains(github.event.pull_request.labels.*.name, 'ready-for-ci') && github.event.pull_request.draft == false) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/github-auth
- uses: taiki-e/install-action@1919c4a95903d2c33e4a221102edca87309fc14b # v2.89.0
env:
GITHUB_TOKEN: ${{ github.token }}
with:
tool: cargo-audit
- name: run cargo audit
run: cargo audit