mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-06 00:09:22 +00:00
adds concurrency group and cancels CI runs from multiple commits --------- Co-authored-by: mmosarafO2 <mosraf@openobserve.ai>
24 lines
607 B
YAML
24 lines
607 B
YAML
name: "Licenses checker"
|
|
on:
|
|
push:
|
|
paths:
|
|
- "**/Cargo.lock"
|
|
- "**/Cargo.toml"
|
|
- "deny.toml"
|
|
- ".github/workflows/cargo-deny.yml" # run when this file changes, so we know nothing is broken
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubicloud-standard-8
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: EmbarkStudios/cargo-deny-action@v2
|
|
with:
|
|
# The command to run with cargo-deny
|
|
command: check licenses
|