Add template for running D2D on project build and source archives #110
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
| on: [push] | |
| jobs: | |
| scan-codebase: | |
| runs-on: ubuntu-24.04 | |
| name: Scan a package archive | |
| steps: | |
| - name: Get the action.yml from the current branch | |
| uses: actions/checkout@v4 | |
| with: | |
| sparse-checkout: action.yml | |
| sparse-checkout-cone-mode: false | |
| - uses: ./ | |
| with: | |
| pipelines: "scan_single_package" | |
| input-urls: | |
| https://github.com/${GITHUB_REPOSITORY}/archive/${GITHUB_REF}.zip |