Skip to content

Assigned RUSTSEC-2025-0040 to users #1080

Assigned RUSTSEC-2025-0040 to users

Assigned RUSTSEC-2025-0040 to users #1080

Workflow file for this run

name: Export to OSV format
on:
push:
branches: main
jobs:
publish-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: osv
- uses: actions/cache@v4
id: admin-cache
with:
path: ~/.cargo/bin
key: rustsec-admin-b7c69254bda9b8f4c94bc5eaef47e5bb3a97d8cd
- name: Install rustsec-admin
if: steps.admin-cache.outputs.cache-hit != 'true'
run: cargo install --git https://github.com/rustsec/rustsec rustsec-admin --rev b7c69254bda9b8f4c94bc5eaef47e5bb3a97d8cd
- run: |
mkdir -p crates
rustsec-admin osv crates
# FIXME: hack to avoid committing advisories without an ID
rm -f crates/RUSTSEC-0000-0000.json
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Update OSV exported data" || true
git push || true