Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,6 @@
matchDepNames: ['rust'],
enabled: false,
},
// setup-just v4 runs extractions/setup-crate, which the org's Actions
// allowlist does not include, so every job using it fails at setup.
{
matchManagers: ['github-actions'],
matchDepNames: ['extractions/setup-just'],
allowedVersions: '<4',
},
// setup-rust-toolchain v2 sets CARGO_BUILD_WARNINGS=deny, so cargo's
// unused-dependency manifest warnings fail every build. Stay on v1 until
// those dependencies are cleaned up.
{
matchManagers: ['github-actions'],
matchDepNames: ['actions-rust-lang/setup-rust-toolchain'],
allowedVersions: '<2',
},

// Patch-only catch-all. Not minor: most crates here are 0.x, where a
// "minor" is a breaking change and deserves its own PR.
Expand Down
23 changes: 18 additions & 5 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,40 @@
# Security audit workflow
# Security audit workflow: RustSec advisories and cargo-deny policy, on any
# change to the dependency graph or the audit config.
name: Security Audit

on:
push:
branches: [main]
branches: [unity/hub-consolidated, unity/hub-4.0]
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- audit.toml
- deny.toml
- .github/workflows/audit.yml
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
schedule:
- cron: '0 0 * * 1'
- audit.toml
- deny.toml
- .github/workflows/audit.yml
workflow_dispatch:

permissions:
contents: read
checks: write

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
# cargo-audit: vulnerability scanning (advisory DB)
cargo-audit:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@v7
- uses: rustsec/audit-check@v2
Expand All @@ -33,6 +45,7 @@ jobs:
# cargo-deny: license compliance + advisory + duplicate detection
cargo-deny:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: EmbarkStudios/cargo-deny-action@v2
Expand Down
Loading
Loading