Skip to content

fix: scan on pull_request instead of push #84

fix: scan on pull_request instead of push

fix: scan on pull_request instead of push #84

Workflow file for this run

name: Main
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '0 0 * * 0'
jobs:
build-rock:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
scan-rock:
needs: build-rock
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
publish-rock:
if: github.ref_name == 'main'
needs: scan-rock
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]