Skip to content

Main

Main #69

Workflow file for this run

name: Main
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '0 8 * * 2'
concurrency:
group: ${{ github.ref == 'refs/heads/main' && format('ignore-main-{0}', github.run_id) || format('{0}-{1}', github.workflow, github.ref_name) }}
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/build-rock.yaml
scan:
needs: build
uses: ./.github/workflows/scan-rock.yaml
publish:
if: github.ref_name == 'main'
needs: [scan, build]
uses: ./.github/workflows/publish-rock.yaml