-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 946 Bytes
/
pr-validate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Pull Request: Validate"
on:
pull_request:
branches: ["main"]
types: ["opened", "synchronize", "reopened"]
concurrency:
group: ${{ github.head_ref }}-pr-validate
cancel-in-progress: true
jobs:
simple-checks:
uses: spiceratops/container-images/.github/workflows/simple-checks.yaml@main
get-changed-images:
uses: spiceratops/container-images/.github/workflows/get-changed-images.yaml@main
build-images:
needs: ["simple-checks", "get-changed-images"]
if: ${{ needs.get-changed-images.outputs.addedOrModified == 'true' }}
uses: spiceratops/container-images/.github/workflows/build-images.yaml@main
secrets: inherit
with:
appsToBuild: "${{ needs.get-changed-images.outputs.addedOrModifiedImages }}"
pushImages: false
sendNotifications: false