chore(deps): update github/codeql-action digest to aa57810 #179
This file contains 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: CI | |
# When pushing to the "main" branch or a tag, we: | |
# * build the rock image | |
# * publish the image | |
# * scan the image and upload the artifacts to the repository | |
# if not any of those conditions apply, we simply build | |
on: | |
push: | |
branches: | |
- "main" | |
- "release-**" | |
tags: | |
- "v**" | |
paths: | |
- "rockcraft.yaml" | |
- ".github/workflows/**.yaml" | |
pull_request: | |
branches: | |
- "*" | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yaml | |
publish: | |
if: ${{ (github.ref == 'refs/heads/main') || (github.ref_type == 'tag') }} | |
needs: build | |
uses: ./.github/workflows/publish.yaml | |
secrets: | |
token: ${{ secrets.PAT_TOKEN }} | |
scan: | |
if: ${{ (github.ref == 'refs/heads/main') || (github.ref_type == 'tag') }} | |
needs: publish | |
uses: ./.github/workflows/scan.yaml |