Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/secscan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Security scan

on:
pull_request:

jobs:
secscan:
runs-on: [self-hosted]

steps:
- name: Checkout snapcraft
uses: actions/checkout@v6
with:
fetch-depth: 0

# speed up build times by using wheels, when available
- name: Use wheels
run: |
yq eval 'del(.parts.snapcraft.build-environment[] | select(.UV_NO_BINARY == "true"))' -i snap/snapcraft.yaml

- name: Build snapcraft snap
id: build-snapcraft
uses: canonical/action-build@v1

- name: Secscan
uses: canonical/starflow/secscan@work/secscan-action/CRAFT-5208
with:
snap-file: ${{ steps.build-snapcraft.outputs.snap }}
cycle: "26.10"
release-channel: edge
Loading