Skip to content
Open
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
66 changes: 66 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
version: 2
updates:
- package-ecosystem: npm
directory: /frontend
schedule:
interval: weekly
day: monday
time: "09:00"
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
frontend-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /alerts
schedule:
interval: weekly
day: monday
time: "09:15"
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
alerts-dependencies:
patterns:
- "*"

- package-ecosystem: npm
directory: /scripts
schedule:
interval: weekly
day: monday
time: "09:30"
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
scripts-dependencies:
patterns:
- "*"

- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
day: monday
time: "10:00"
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
rust-dependencies:
patterns:
- "*"

- package-ecosystem: cargo
directory: /contracts/strategies/blend_leverage
schedule:
interval: weekly
day: monday
time: "10:15"
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
blend-leverage-dependencies:
patterns:
- "*"
38 changes: 38 additions & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Security Audit

on:
pull_request:
paths:
- "Cargo.toml"
- "Cargo.lock"
- "contracts/**/Cargo.toml"
- "contracts/**/Cargo.lock"
- ".github/workflows/security-audit.yml"
push:
branches: [main]
paths:
- "Cargo.toml"
- "Cargo.lock"
- "contracts/**/Cargo.toml"
- "contracts/**/Cargo.lock"
- ".github/workflows/security-audit.yml"
workflow_dispatch:

permissions:
contents: read

jobs:
cargo-audit:
name: cargo audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Show Rust toolchain
run: cargo --version

- name: Install cargo-audit
run: cargo install cargo-audit --locked

- name: Run cargo audit
run: cargo audit --deny warnings