Skip to content

Commit f5e75ff

Browse files
committed
Add cargo packageURL mining in CI with scancode-action
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 3951081 commit f5e75ff

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on: [workflow_dispatch]
2+
3+
jobs:
4+
mine-pypi-purls:
5+
runs-on: ubuntu-24.04
6+
name: Mine cargo PackageURLs
7+
steps:
8+
- uses: aboutcode-org/scancode-action@beta
9+
with:
10+
scancodeio-repo-branch: "collect-purl-metadata#egg=scancodeio[mining]"
11+
pipelines: "mine_cargo"
12+
env:
13+
FEDERATEDCODE_GIT_ACCOUNT_URL: https://github.com/aboutcode-data/minecode-data-cargo-test
14+
FEDERATEDCODE_GIT_SERVICE_TOKEN: ${{ secrets.MINING_GITHUB_TOKEN }}
15+
FEDERATEDCODE_GIT_SERVICE_NAME: "the AboutCode bot"
16+
FEDERATEDCODE_GIT_SERVICE_EMAIL: "automation@aboutcode.org"

cargo/checkpoints.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)