Scan packages #590
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scan packages | |
| on: | |
| push: | |
| branches: [ main ] | |
| schedule: | |
| - cron: 0 */3 * * * # every 3 hours | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| runs-on: blacksmith-2vcpu-ubuntu-2404-arm # arm is half the price | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| activate-environment: true | |
| - run: pip install . # install it to call it via a shortcut | |
| - run: zd --github-token ${{ secrets.GITHUB_TOKEN }} scan |