Skip to content

Add FaceTime command flow and auto-approval improvements #1

Add FaceTime command flow and auto-approval improvements

Add FaceTime command flow and auto-approval improvements #1

Workflow file for this run

name: Security
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '0 6 * * 1' # Every Monday at 06:00 UTC
permissions:
security-events: write
jobs:
govulncheck:
name: Go vulnerability check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Install libolm-dev
run: sudo apt-get update -qq && sudo apt-get install -y -qq libolm-dev
# Only scan pure-Go packages; packages importing rustpushgo need
# the Rust static library which is impractical to build here.
- name: Run govulncheck
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./imessage/... ./cmd/bbctl/...
cargo-audit:
name: Rust dependency audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Fetch and prepare rustpush source
run: make ensure-rustpush-source
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Audit Rust dependencies
working-directory: pkg/rustpushgo
run: |
# Current rustpush upstream transitively includes known advisories.
# Track and remove ignores when upstream dependency versions are bumped.
cargo audit \
--ignore RUSTSEC-2024-0421 \
--ignore RUSTSEC-2025-0009 \
--ignore RUSTSEC-2024-0336 \
--ignore RUSTSEC-2025-0018 \
--ignore RUSTSEC-2025-0141 \
--ignore RUSTSEC-2024-0384 \
--ignore RUSTSEC-2024-0436 \
--ignore RUSTSEC-2025-0010 \
--ignore RUSTSEC-2025-0134