Skip to content

Assigned RUSTSEC-2025-0137 to ruint #1253

Assigned RUSTSEC-2025-0137 to ruint

Assigned RUSTSEC-2025-0137 to ruint #1253

Workflow file for this run

name: Export to OSV format
on:
push:
branches: main
permissions: {}
jobs:
publish-web:
runs-on: ubuntu-latest
permissions:
contents: write # needed for pushing back to the repo
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
ref: osv
persist-credentials: true # persists the token for git push below
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: admin-cache
with:
path: ~/.cargo/bin
key: rustsec-admin-7ed6bee1571768e528a6631400d3b51f37463b29
- name: Install rustsec-admin
if: steps.admin-cache.outputs.cache-hit != 'true'
run: cargo install --git https://github.com/rustsec/rustsec rustsec-admin --rev 7ed6bee1571768e528a6631400d3b51f37463b29
- 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